MCPcopy
hub / github.com/golang/crypto / Packet

Interface Packet

openpgp/packet/packet.go:296–298  ·  view source on GitHub ↗

Packet represents an OpenPGP packet. Users are expected to try casting instances of this interface to specific packet types.

Source from the content-addressed store, hash-verified

294// Packet represents an OpenPGP packet. Users are expected to try casting
295// instances of this interface to specific packet types.
296type Packet interface {
297 parse(io.Reader) error
298}
299
300// consumeAll reads from the given Reader until error, returning the number of
301// bytes read.

Callers 5

parseSignatureSubpacketFunction · 0.65
parseMethod · 0.65
ReadFunction · 0.65
NextMethod · 0.65
parseMethod · 0.65

Implementers 15

Signatureopenpgp/packet/signature.go
ecdsaKeyopenpgp/packet/public_key.go
ecdhKdfopenpgp/packet/public_key.go
PublicKeyopenpgp/packet/public_key.go
UserIdopenpgp/packet/userid.go
EncryptedKeyopenpgp/packet/encrypted_key.go
SymmetricallyEncryptedopenpgp/packet/symmetrically_encrypted
OnePassSignatureopenpgp/packet/one_pass_signature.go
SymmetricKeyEncryptedopenpgp/packet/symmetric_key_encrypted
UserAttributeopenpgp/packet/userattribute.go
PublicKeyV3openpgp/packet/public_key_v3.go
OpaquePacketopenpgp/packet/opaque.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…