Package org.pgpainless.decryption_verification
package org.pgpainless.decryption_verification
Classes used to decryption and verification of OpenPGP encrypted / signed data.
-
ClassDescriptionImplementation of the
PublicKeyDataDecryptorFactory
which caches decrypted session keys.Options for decryption and signature verification.Source for OpenPGP certificates.CustomPublicKeyDataDecryptorFactory
which can enable customized implementations of message decryption using public keys.Builder class that takes anInputStream
of ciphertext (or plaintext signed data) and combines it with a configuredConsumerOptions
object to form aDecryptionStream
which can be used to decrypt an OpenPGP message or verify signatures.Abstract definition of anInputStream
which can be used to decrypt / verify OpenPGP messages.Enable integration of hardware-backed OpenPGP keys.Implementation ofPublicKeyDataDecryptorFactory
which delegates decryption of encrypted session keys to aHardwareSecurity.DecryptionCallback
.Inspect an OpenPGP message to determine IDs of its encryption keys or whether it is passphrase protected.View for extracting metadata about aMessageMetadata.Message
.Strategy defining how missing secret key passphrases are handled.InputStream used to determine the nature of potential OpenPGP data.Legacy class containing metadata about an OpenPGP message.Tuple of a signature and an identifier of its corresponding verification key.Tuple object of aSignatureVerification
and the correspondingSignatureValidationException
that caused the verification to fail.Since we need to update signatures with data from the underlying stream, this class is used to tee out the data.