mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-29 15:52:08 +01:00
Correct method name
Correct `verifyWith()` to `verifyWithCert()´
This commit is contained in:
parent
75c39c2fde
commit
a34f46b6c6
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ byte[] ciphertext = ...; // the encrypted message
|
||||||
|
|
||||||
ReadyWithResult<DecryptionResult> readyWithResult = sop.decrypt()
|
ReadyWithResult<DecryptionResult> readyWithResult = sop.decrypt()
|
||||||
.withKey(bobKey)
|
.withKey(bobKey)
|
||||||
.verifyWith(aliceCert)
|
.verifyWithCert(aliceCert)
|
||||||
.withKeyPassword("password123") // if decryption key is protected
|
.withKeyPassword("password123") // if decryption key is protected
|
||||||
.ciphertext(ciphertext);
|
.ciphertext(ciphertext);
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue