golang.org/x/crypto/openpgp/packet.UserId.Id (field)
26 uses
golang.org/x/crypto/openpgp/packet (current package)
userid.go#L17: Id string // By convention, this takes the form "Full Name (Comment) " which is split out in the fields below.
userid.go#L47: uid.Id = name
userid.go#L49: if len(uid.Id) > 0 {
userid.go#L50: uid.Id += " "
userid.go#L52: uid.Id += "("
userid.go#L53: uid.Id += comment
userid.go#L54: uid.Id += ")"
userid.go#L57: if len(uid.Id) > 0 {
userid.go#L58: uid.Id += " "
userid.go#L60: uid.Id += "<"
userid.go#L61: uid.Id += email
userid.go#L62: uid.Id += ">"
userid.go#L73: uid.Id = string(b)
userid.go#L74: uid.Name, uid.Comment, uid.Email = parseUserId(uid.Id)
userid.go#L81: err := serializeHeader(w, packetTypeUserId, len(uid.Id))
userid.go#L85: _, err = w.Write([]byte(uid.Id))
golang.org/x/crypto/openpgp
keys.go#L406: identity.Name = pkt.Id
keys.go#L424: if err = e.PrimaryKey.VerifyUserIdSignature(pkt.Id, e.PrimaryKey, sig); err != nil {
keys.go#L428: e.Identities[pkt.Id] = identity
keys.go#L533: e.Identities[uid.Id] = &Identity{
keys.go#L534: Name: uid.Id,
keys.go#L548: err = e.Identities[uid.Id].SelfSignature.SignUserId(uid.Id, e.PrimaryKey, e.PrivateKey, config)
keys.go#L556: e.Identities[uid.Id].SelfSignature.PreferredHash = []uint8{hashToHashId(config.DefaultHash)}
keys.go#L561: e.Identities[uid.Id].SelfSignature.PreferredSymmetric = []uint8{uint8(config.DefaultCipher)}
keys.go#L602: err = ident.SelfSignature.SignUserId(ident.UserId.Id, e.PrimaryKey, e.PrivateKey, config)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |