golang.org/x/crypto/openpgp.Entity.PrivateKey (field)
22 uses
golang.org/x/crypto/openpgp (current package)
keys.go#L28: PrivateKey *packet.PrivateKey
keys.go#L120: return Key{e, e.PrimaryKey, e.PrivateKey, i.SelfSignature}, true
keys.go#L152: return Key{e, e.PrimaryKey, e.PrivateKey, i.SelfSignature}, true
keys.go#L174: keys = append(keys, Key{e, e.PrimaryKey, e.PrivateKey, selfSig})
keys.go#L325: if e.PrivateKey, ok = p.(*packet.PrivateKey); !ok {
keys.go#L329: e.PrimaryKey = &e.PrivateKey.PublicKey
keys.go#L529: PrivateKey: packet.NewRSAPrivateKey(creationTime, signingPriv),
keys.go#L548: err = e.Identities[uid.Id].SelfSignature.SignUserId(uid.Id, e.PrimaryKey, e.PrivateKey, config)
keys.go#L581: err = e.Subkeys[0].Sig.SignKey(e.Subkeys[0].PublicKey, e.PrivateKey, config)
keys.go#L593: err = e.PrivateKey.Serialize(w)
keys.go#L602: err = ident.SelfSignature.SignUserId(ident.UserId.Id, e.PrimaryKey, e.PrivateKey, config)
keys.go#L616: err = subkey.Sig.SignKey(subkey.PublicKey, e.PrivateKey, config)
keys.go#L670: if signer.PrivateKey == nil {
keys.go#L673: if signer.PrivateKey.Encrypted {
keys.go#L683: PubKeyAlgo: signer.PrivateKey.PubKeyAlgo,
keys.go#L686: IssuerKeyId: &signer.PrivateKey.KeyId,
keys.go#L688: if err := sig.SignUserId(identity, e.PrimaryKey, signer.PrivateKey, config); err != nil {
write.go#L63: if signer.PrivateKey == nil {
write.go#L66: if signer.PrivateKey.Encrypted {
write.go#L72: sig.PubKeyAlgo = signer.PrivateKey.PubKeyAlgo
write.go#L75: sig.IssuerKeyId = &signer.PrivateKey.KeyId
write.go#L83: err = sig.Sign(h, signer.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. |