Encrypts a file such that only the secret key associated with this public key can decrypt.
Encrypts a string such that only the secret key associated with this public key could decrypt.
The identifier for this key.
Saves the current entity to an output stream.
Saves the current entity to an output stream.
Saves the current entity to a file.
Saves the current entity to a file.
Saves the current entity into a string.
Saves the current entity into a string.
Returns the userIDs associated with this public key.
Reads in a PGP message from a file, verifies the signature and writes to the output file.
Reads in a PGP message from a file, verifies the signature and writes to the output file.
Verifies a signed message and extracts the contents.
Verifies a signed message and extracts the contents.
The incoming PGP message.
The decoded and verified message.
Reads in a PGP message and from a string, verifies the signature and returns the raw content.
Reads in a PGP message and from a string, verifies the signature and returns the raw content.
Reads in a raw file, verifies the signature file is valid for this file.
Reads in a raw file, verifies the signature file is valid for this file.
Verifies a signature stream against an input stream.
Verifies a signature stream against an input stream.
The input stream containing the raw message to verify.
The input stream containing the PGP signature.
Verifies that a stream was signed correctly by another stream.
Verifies that a stream was signed correctly by another stream.
is signature contains an unknown public key.
Reads in a PGP message from a string, verifies the signature string is accurate for the message.
Reads in a PGP message from a string, verifies the signature string is accurate for the message.
This class represents a public PGP key. It can be used to encrypt messages for a person and validate that messages were signed correctly.