mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-14 16:32:06 +01:00
parent
e46cbae6b8
commit
89790a0a94
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ This behaviour can be modified though using the `Policy` class.
|
|||
DecryptionStream decryptionStream = PGPainless.decryptAndOrVerify()
|
||||
.onInputStream(encryptedInputStream)
|
||||
.withOptions(new ConsumerOptions()
|
||||
.addMessagePassphrase(bobSecKeys, secretKeyProtector)
|
||||
.addDecryptionKey(bobSecKeys, secretKeyProtector)
|
||||
.addVerificationCert(alicePubKeys)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue