golang.org/x/crypto/openpgp/packet.PublicKey.KeyId (field)
13 uses
golang.org/x/crypto/openpgp/packet (current package)
encrypted_key.go#L144: binary.BigEndian.PutUint64(buf[1:9], pub.KeyId)
public_key.go#L158: KeyId uint64
public_key.go#L311: pk.KeyId = binary.BigEndian.Uint64(pk.Fingerprint[12:20])
golang.org/x/crypto/openpgp
keys.go#L164: if e.PrimaryKey.KeyId == id {
keys.go#L178: if subKey.PublicKey.KeyId == id {
keys.go#L423: if (sig.SigType == packet.SigTypePositiveCert || sig.SigType == packet.SigTypeGenericCert) && sig.IssuerKeyId != nil && *sig.IssuerKeyId == e.PrimaryKey.KeyId {
keys.go#L545: IssuerKeyId: &e.PrimaryKey.KeyId,
keys.go#L576: IssuerKeyId: &e.PrimaryKey.KeyId,
keys.go#L686: IssuerKeyId: &signer.PrivateKey.KeyId,
write.go#L75: sig.IssuerKeyId = &signer.PrivateKey.KeyId
write.go#L220: KeyId: signer.KeyId,
write.go#L290: return nil, errors.InvalidArgumentError("cannot encrypt a message to key id " + strconv.FormatUint(to[i].PrimaryKey.KeyId, 16) + " because it has no encryption keys")
write.go#L390: IssuerKeyId: &s.signer.KeyId,
![]() |
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. |