public final class EciesAeadHkdfHybridDecrypt extends Object implements HybridDecrypt
| Constructor and Description |
|---|
EciesAeadHkdfHybridDecrypt(ECPrivateKey recipientPrivateKey,
byte[] hkdfSalt,
String hkdfHmacAlgo,
EllipticCurves.PointFormatType ecPointFormat,
EciesAeadHkdfDemHelper demHelper) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] ciphertext,
byte[] contextInfo)
Decryption operation: decrypts
ciphertext verifying the integrity of contextInfo. |
public EciesAeadHkdfHybridDecrypt(ECPrivateKey recipientPrivateKey, byte[] hkdfSalt, String hkdfHmacAlgo, EllipticCurves.PointFormatType ecPointFormat, EciesAeadHkdfDemHelper demHelper) throws GeneralSecurityException
GeneralSecurityExceptionpublic byte[] decrypt(byte[] ciphertext,
byte[] contextInfo)
throws GeneralSecurityException
HybridDecryptciphertext verifying the integrity of contextInfo.decrypt in interface HybridDecryptGeneralSecurityException