1
0
Fork 0
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:
GregorGott 2022-11-20 10:54:11 +00:00 committed by Paul Schaub
parent 75c39c2fde
commit a34f46b6c6

View file

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