mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-15 00:42: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()
|
DecryptionStream decryptionStream = PGPainless.decryptAndOrVerify()
|
||||||
.onInputStream(encryptedInputStream)
|
.onInputStream(encryptedInputStream)
|
||||||
.withOptions(new ConsumerOptions()
|
.withOptions(new ConsumerOptions()
|
||||||
.addMessagePassphrase(bobSecKeys, secretKeyProtector)
|
.addDecryptionKey(bobSecKeys, secretKeyProtector)
|
||||||
.addVerificationCert(alicePubKeys)
|
.addVerificationCert(alicePubKeys)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue