package
0.0.0-20180502131224-d62ea787779f
Repository: https://github.com/tng/gpg-validation-server.git
Documentation: pkg.go.dev
# Functions
MarshalKey encodes the public parts of the given key into a byte array.
NewGPG initializes a GPG object from a buffer containing the server's private key.
UnmarshalKey reads a key from an ascii armor or binary encoding.
# Variables
ErrMessageNotEncrypted is returned when to be decrypted message is not encrypted.
ErrMessageNotSigned is returned when to be decrypted message was not signed by anybody.
ErrNoPrivateKey is returned when an entity does not contain needed private keys.
ErrUnknownIdentity is returned when an identity could not be found within the identities of a key.
ErrUnknownIssuer is returned when the issuer of a signature is not known.