Parse one or more public keys from armored text or binary key data.
Parse one or more (possibly locked) private keys from armored text or binary key data.
Unlock a locked private key with the given passphrase.
Produce an ASCII-armored detached signature over data.
Verify an ASCII-armored detached signature over data.
Produce an ASCII-armored encrypted (optionally signed) message.
Optionaloptions: {Decrypt an ASCII-armored message and, if verification keys are supplied, verify its signatures.
OptionalverificationKeys: PublicKey[]
The minimal set of OpenPGP primitives the PGP/MIME layer needs. Keys are opaque backend handles (OpenPgpPublicKey / OpenPgpPrivateKey).