Correct method name
Correct `verifyWith()` to `verifyWithCert()´
This commit is contained in:
parent
75c39c2fde
commit
a34f46b6c6
|
@ -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 New Issue