Package org.pgpainless.decryption_verification
Classes used to decryption and verification of OpenPGP encrypted / signed data.
-
Interface Summary Interface Description CustomPublicKeyDataDecryptorFactory CustomPublicKeyDataDecryptorFactorywhich can enable customized implementations of message decryption using public keys.DecryptionBuilderInterface DecryptionBuilderInterface.DecryptWith HardwareSecurity.DecryptionCallback MessageMetadata.Function<A,B> MessageMetadata.Nested MessageMetadata.Packet MissingPublicKeyCallback -
Class Summary Class Description ConsumerOptions Options for decryption and signature verification.ConsumerOptions.CertificateSource Source for OpenPGP certificates.DecryptionBuilder Builder class that takes anInputStreamof ciphertext (or plaintext signed data) and combines it with a configuredConsumerOptionsobject to form aDecryptionStreamwhich can be used to decrypt an OpenPGP message or verify signatures.DecryptionStream Abstract definition of anInputStreamwhich can be used to decrypt / verify OpenPGP messages.HardwareSecurity Enable integration of hardware-backed OpenPGP keys.HardwareSecurity.HardwareDataDecryptorFactory Implementation ofPublicKeyDataDecryptorFactorywhich delegates decryption of encrypted session keys to aHardwareSecurity.DecryptionCallback.IntegrityProtectedInputStream MessageInspector Inspect an OpenPGP message to determine IDs of its encryption keys or whether it is passphrase protected.MessageInspector.EncryptionInfo MessageMetadata View for extracting metadata about aMessageMetadata.Message.MessageMetadata.CompressedData MessageMetadata.EncryptedData MessageMetadata.Layer MessageMetadata.LiteralData MessageMetadata.Message OpenPgpInputStream OpenPgpMessageInputStream OpenPgpMetadata Legacy class containing metadata about an OpenPGP message.OpenPgpMetadata.Builder SignatureVerification Tuple of a signature and an identifier of its corresponding verification key.SignatureVerification.Failure Tuple object of aSignatureVerificationand the correspondingSignatureValidationExceptionthat caused the verification to fail.TeeBCPGInputStream Since we need to update signatures with data from the underlying stream, this class is used to tee out the data.TeeBCPGInputStream.DelayedTeeInputStream -
Enum Summary Enum Description MissingKeyPassphraseStrategy Strategy defining how missing secret key passphrases are handled. -
Exception Summary Exception Description HardwareSecurity.HardwareSecurityException