Uses of Class
org.pgpainless.decryption_verification.ConsumerOptions
-
Packages that use ConsumerOptions Package Description org.pgpainless.decryption_verification Classes used to decryption and verification of OpenPGP encrypted / signed data.org.pgpainless.decryption_verification.cleartext_signatures Classes related to cleartext signature verification. -
-
Uses of ConsumerOptions in org.pgpainless.decryption_verification
Methods in org.pgpainless.decryption_verification that return ConsumerOptions Modifier and Type Method Description ConsumerOptions
ConsumerOptions. addDecryptionKey(org.bouncycastle.openpgp.PGPSecretKeyRing key)
Add a key for message decryption.ConsumerOptions
ConsumerOptions. addDecryptionKey(org.bouncycastle.openpgp.PGPSecretKeyRing key, SecretKeyRingProtector keyRingProtector)
Add a key for message decryption.ConsumerOptions
ConsumerOptions. addDecryptionKeys(org.bouncycastle.openpgp.PGPSecretKeyRingCollection keys, SecretKeyRingProtector keyRingProtector)
Add the keys in the provided key collection for message decryption.ConsumerOptions
ConsumerOptions. addDecryptionPassphrase(Passphrase passphrase)
Add a passphrase for message decryption.ConsumerOptions
ConsumerOptions. addVerificationCert(org.bouncycastle.openpgp.PGPPublicKeyRing verificationCert)
Add a certificate (public key ring) for signature verification.ConsumerOptions
ConsumerOptions. addVerificationCerts(org.bouncycastle.openpgp.PGPPublicKeyRingCollection verificationCerts)
Add a set of certificates (public key rings) for signature verification.ConsumerOptions
ConsumerOptions. addVerificationOfDetachedSignature(org.bouncycastle.openpgp.PGPSignature detachedSignature)
Add a detached signature for the signature verification process.ConsumerOptions
ConsumerOptions. addVerificationOfDetachedSignatures(InputStream signatureInputStream)
ConsumerOptions
ConsumerOptions. addVerificationOfDetachedSignatures(List<org.bouncycastle.openpgp.PGPSignature> detachedSignatures)
ConsumerOptions
ConsumerOptions. setIgnoreMDCErrors(boolean ignoreMDCErrors)
Deprecated.ConsumerOptions
ConsumerOptions. setMissingCertificateCallback(MissingPublicKeyCallback callback)
Set a callback that's used when a certificate (public key) is missing for signature verification.ConsumerOptions
ConsumerOptions. setMissingKeyPassphraseStrategy(MissingKeyPassphraseStrategy strategy)
Specify theMissingKeyPassphraseStrategy
.ConsumerOptions
ConsumerOptions. setMultiPassStrategy(MultiPassStrategy multiPassStrategy)
Set a custom multi-pass strategy for processing cleartext-signed messages.ConsumerOptions
ConsumerOptions. setSessionKey(SessionKey sessionKey)
Attempt decryption using a session key.ConsumerOptions
ConsumerOptions. verifyNotAfter(Date timestamp)
Consider signatures on the message made after the given timestamp invalid.ConsumerOptions
ConsumerOptions. verifyNotBefore(Date timestamp)
Consider signatures on the message made before the given timestamp invalid.Methods in org.pgpainless.decryption_verification with parameters of type ConsumerOptions Modifier and Type Method Description static DecryptionStream
DecryptionStreamFactory. create(InputStream inputStream, ConsumerOptions options)
DecryptionStream
DecryptionBuilderInterface.DecryptWith. withOptions(ConsumerOptions consumerOptions)
Add options for decryption / signature verification, such as keys, passphrases etc.Constructors in org.pgpainless.decryption_verification with parameters of type ConsumerOptions Constructor Description DecryptionStreamFactory(ConsumerOptions options)
IntegrityProtectedInputStream(InputStream inputStream, org.bouncycastle.openpgp.PGPEncryptedData encryptedData, ConsumerOptions options)
VerifySignatures(InputStream literalDataStream, org.bouncycastle.openpgp.PGPObjectFactory objectFactory, List<OnePassSignatureCheck> opSignatures, Map<Long,OnePassSignatureCheck> onePassSignaturesWithMissingCert, List<DetachedSignatureCheck> detachedSignatures, ConsumerOptions options, OpenPgpMetadata.Builder resultBuilder)
-
Uses of ConsumerOptions in org.pgpainless.decryption_verification.cleartext_signatures
Methods in org.pgpainless.decryption_verification.cleartext_signatures with parameters of type ConsumerOptions Modifier and Type Method Description CleartextSignatureProcessor
VerifyCleartextSignatures.VerifyWith. withOptions(ConsumerOptions options)
Pass in consumer options like verification certificates, acceptable date ranges etc.CleartextSignatureProcessor
VerifyCleartextSignaturesImpl.VerifyWithImpl. withOptions(ConsumerOptions options)
Constructors in org.pgpainless.decryption_verification.cleartext_signatures with parameters of type ConsumerOptions Constructor Description CleartextSignatureProcessor(InputStream inputStream, ConsumerOptions options)
-