Documentation ¶
Index ¶
- func Clearsign(msg io.Reader, key io.Reader) (string, error)
- func EntityFingerprint(entity *openpgp.Entity) string
- func EntitySignatures(entity *openpgp.Entity) []*packet.Signature
- func ReadArmoredKeyRing(r io.Reader) (openpgp.EntityList, error)
- func ReadKeyRing(r io.Reader) (openpgp.EntityList, error)
- type Entity
- type EntityList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EntityFingerprint ¶
EntityFingerprint returns the hex representation of the entity's PrimaryKey fingerprint.
func EntitySignatures ¶
EntitySignatures returns all signatures of an entity
func ReadArmoredKeyRing ¶
func ReadArmoredKeyRing(r io.Reader) (openpgp.EntityList, error)
ReadArmoredKeyRing retrieves a keyring from a reader
func ReadKeyRing ¶ added in v0.20.0
func ReadKeyRing(r io.Reader) (openpgp.EntityList, error)
ReadKeyRing reads one or more public/private keys.
Types ¶
type Entity ¶ added in v0.11.0
Entity represents a PGP entity
func VerifySignatureClearsigned ¶
VerifySignatureClearsigned verifies the signature of a clearsigned gpg message, returning the message contents and the signer's entity.
type EntityList ¶ added in v0.11.0
type EntityList = openpgp.EntityList
EntityList is a list of PGP entities
Click to show internal directories.
Click to hide internal directories.