type golang.org/x/crypto/openpgp/packet.PublicKeyAlgorithm
22 uses
golang.org/x/crypto/openpgp/packet (current package)
encrypted_key.go#L25: Algo PublicKeyAlgorithm
encrypted_key.go#L42: e.Algo = PublicKeyAlgorithm(buf[9])
one_pass_signature.go#L21: PubKeyAlgo PublicKeyAlgorithm
one_pass_signature.go#L46: ops.PubKeyAlgo = PublicKeyAlgorithm(buf[3])
packet.go#L437: type PublicKeyAlgorithm uint8
packet.go#L440: PubKeyAlgoRSA PublicKeyAlgorithm = 1
packet.go#L441: PubKeyAlgoElGamal PublicKeyAlgorithm = 16
packet.go#L442: PubKeyAlgoDSA PublicKeyAlgorithm = 17
packet.go#L444: PubKeyAlgoECDH PublicKeyAlgorithm = 18
packet.go#L445: PubKeyAlgoECDSA PublicKeyAlgorithm = 19
packet.go#L448: PubKeyAlgoRSAEncryptOnly PublicKeyAlgorithm = 2
packet.go#L449: PubKeyAlgoRSASignOnly PublicKeyAlgorithm = 3
packet.go#L454: func (pka PublicKeyAlgorithm) CanEncrypt() bool {
packet.go#L464: func (pka PublicKeyAlgorithm) CanSign() bool {
public_key.go#L155: PubKeyAlgo PublicKeyAlgorithm
public_key.go#L269: pk.PubKeyAlgo = PublicKeyAlgorithm(buf[5])
public_key_v3.go#L29: PubKeyAlgo PublicKeyAlgorithm
public_key_v3.go#L64: pk.PubKeyAlgo = PublicKeyAlgorithm(buf[7])
signature.go#L35: PubKeyAlgo PublicKeyAlgorithm
signature.go#L99: sig.PubKeyAlgo = PublicKeyAlgorithm(buf[1])
signature_v3.go#L27: PubKeyAlgo PublicKeyAlgorithm
signature_v3.go#L72: sig.PubKeyAlgo = PublicKeyAlgorithm(buf[0])
![]() |
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. |