public class JcaETSIDataDecryptor extends java.lang.Object implements ETSIDataDecryptor
Modifier and Type | Class and Description |
---|---|
static class |
JcaETSIDataDecryptor.Builder |
Modifier and Type | Method and Description |
---|---|
static JcaETSIDataDecryptor.Builder |
builder(java.security.PrivateKey privateKey,
byte[] recipientHash) |
byte[] |
decrypt(byte[] wrappedKey,
byte[] content,
byte[] nonce) |
byte[] |
getKey()
return the unwrapped key found in the data.
|
public byte[] decrypt(byte[] wrappedKey, byte[] content, byte[] nonce)
decrypt
in interface ETSIDataDecryptor
public byte[] getKey()
ETSIDataDecryptor
getKey
in interface ETSIDataDecryptor
public static JcaETSIDataDecryptor.Builder builder(java.security.PrivateKey privateKey, byte[] recipientHash)