Correct method name

Correct `verifyWith()` to `verifyWithCert()´
This commit is contained in:
GregorGott 2022-11-20 10:54:11 +00:00 committed by Paul Schaub
parent 75c39c2fde
commit a34f46b6c6
1 changed files with 1 additions and 1 deletions

View File

@ -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);
```