public final class EciesAeadHkdfHybridDecrypt extends Object implements HybridDecrypt
| Modifier and Type | Method and Description |
|---|---|
static HybridDecrypt |
create(EciesPrivateKey key) |
byte[] |
decrypt(byte[] ciphertext,
byte[] contextInfo)
Decryption operation: decrypts
ciphertext verifying the integrity of contextInfo. |
public static HybridDecrypt create(EciesPrivateKey key) throws GeneralSecurityException
GeneralSecurityExceptionpublic byte[] decrypt(byte[] ciphertext,
byte[] contextInfo)
throws GeneralSecurityException
HybridDecryptciphertext verifying the integrity of contextInfo.decrypt in interface HybridDecryptGeneralSecurityException