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