public final class RsaKemHybridDecrypt extends Object implements HybridDecrypt
Shoup's ISO standard proposal is available at https://www.shoup.net/iso/std6.pdf.
| Constructor and Description |
|---|
RsaKemHybridDecrypt(RSAPrivateKey recipientPrivateKey,
String hkdfHmacAlgo,
byte[] hkdfSalt,
AeadFactory aeadFactory) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] ciphertext,
byte[] contextInfo)
Decryption operation: decrypts
ciphertext verifying the integrity of contextInfo. |
public RsaKemHybridDecrypt(RSAPrivateKey recipientPrivateKey, String hkdfHmacAlgo, byte[] hkdfSalt, AeadFactory aeadFactory) throws GeneralSecurityException
GeneralSecurityExceptionpublic byte[] decrypt(byte[] ciphertext,
byte[] contextInfo)
throws GeneralSecurityException
HybridDecryptciphertext verifying the integrity of contextInfo.decrypt in interface HybridDecryptGeneralSecurityException