package
1.0.0
Repository: https://github.com/dimensiondev/gopenpgp.git
Documentation: pkg.go.dev

# Functions

DecryptAttKey decrypts a public-key encrypted session key and returns the decrypted symmetric session key.
EncryptCore is lower-level encryption method used by KeyRing.Encrypt.
FilterExpiredKeys takes a given KeyRing list and it returns only those KeyRings which contain at least, one unexpired Key.
GetGopenPGP return global GopenPGP.
ReadArmoredKeyRing reads an armored data into keyring.
ReadKeyRing reads an binary data into keyring.
SeparateKeyAndData reads a binary PGP message from r and splits it into its session key packet and symmetrically encrypted data packet.
SplitArmor is a helper method which splits an armored message into its session key packet and symmetrically encrypted data packet.

# Structs

AttachmentProcessor keeps track of the progress of encrypting an attachment (optimized for encrypting large files).
GopenPGP is used as a "namespace" for many of the functions in this package.
Identity contains the name and the email of a key holder.
KeyRing contains multiple private and public keys.
Signature is be used to check a signature.
SignatureCollector structure.
SignedString wraps string with a Signature.
SymmetricKey stores a decrypted session key.

# Interfaces

MIMECallbacks defines callback methods to process a MIME message.