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 ConsumerOptionsConsumerOptions. addDecryptionKey(org.bouncycastle.openpgp.PGPSecretKeyRing key)Add a key for message decryption.ConsumerOptionsConsumerOptions. addDecryptionKey(org.bouncycastle.openpgp.PGPSecretKeyRing key, SecretKeyRingProtector keyRingProtector)Add a key for message decryption.ConsumerOptionsConsumerOptions. addDecryptionKeys(org.bouncycastle.openpgp.PGPSecretKeyRingCollection keys, SecretKeyRingProtector keyRingProtector)Add the keys in the provided key collection for message decryption.ConsumerOptionsConsumerOptions. addDecryptionPassphrase(Passphrase passphrase)Add a passphrase for message decryption.ConsumerOptionsConsumerOptions. addVerificationCert(org.bouncycastle.openpgp.PGPPublicKeyRing verificationCert)Add a certificate (public key ring) for signature verification.ConsumerOptionsConsumerOptions. addVerificationCerts(org.bouncycastle.openpgp.PGPPublicKeyRingCollection verificationCerts)Add a set of certificates (public key rings) for signature verification.ConsumerOptionsConsumerOptions. addVerificationOfDetachedSignature(org.bouncycastle.openpgp.PGPSignature detachedSignature)Add a detached signature for the signature verification process.ConsumerOptionsConsumerOptions. addVerificationOfDetachedSignatures(InputStream signatureInputStream)ConsumerOptionsConsumerOptions. addVerificationOfDetachedSignatures(List<org.bouncycastle.openpgp.PGPSignature> detachedSignatures)ConsumerOptionsConsumerOptions. setIgnoreMDCErrors(boolean ignoreMDCErrors)Deprecated.ConsumerOptionsConsumerOptions. setMissingCertificateCallback(MissingPublicKeyCallback callback)Set a callback that's used when a certificate (public key) is missing for signature verification.ConsumerOptionsConsumerOptions. setMissingKeyPassphraseStrategy(MissingKeyPassphraseStrategy strategy)Specify theMissingKeyPassphraseStrategy.ConsumerOptionsConsumerOptions. setMultiPassStrategy(MultiPassStrategy multiPassStrategy)Set a custom multi-pass strategy for processing cleartext-signed messages.ConsumerOptionsConsumerOptions. setSessionKey(SessionKey sessionKey)Attempt decryption using a session key.ConsumerOptionsConsumerOptions. verifyNotAfter(Date timestamp)Consider signatures on the message made after the given timestamp invalid.ConsumerOptionsConsumerOptions. 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 DecryptionStreamDecryptionStreamFactory. create(InputStream inputStream, ConsumerOptions options)DecryptionStreamDecryptionBuilderInterface.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 CleartextSignatureProcessorVerifyCleartextSignatures.VerifyWith. withOptions(ConsumerOptions options)Pass in consumer options like verification certificates, acceptable date ranges etc.CleartextSignatureProcessorVerifyCleartextSignaturesImpl.VerifyWithImpl. withOptions(ConsumerOptions options)Constructors in org.pgpainless.decryption_verification.cleartext_signatures with parameters of type ConsumerOptions Constructor Description CleartextSignatureProcessor(InputStream inputStream, ConsumerOptions options)
-