mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-25 22:02:05 +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()
|
||||
.withKey(bobKey)
|
||||
.verifyWith(aliceCert)
|
||||
.verifyWithCert(aliceCert)
|
||||
.withKeyPassword("password123") // if decryption key is protected
|
||||
.ciphertext(ciphertext);
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue