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 ETSIDataDecryptorpublic byte[] getKey()
ETSIDataDecryptorgetKey in interface ETSIDataDecryptorpublic static JcaETSIDataDecryptor.Builder builder(java.security.PrivateKey privateKey, byte[] recipientHash)