public class DecryptionEngine extends Object
Modifier and Type | Field and Description |
---|---|
static Pattern |
CIPHER_PATTERN |
static int |
GCM_TAG_LENGTH |
Constructor and Description |
---|
DecryptionEngine(String masterKeyEnvVar,
String dataKeyCipher,
String keyLength) |
Modifier and Type | Method and Description |
---|---|
String |
decryptWithDEK(String encryptedData) |
String |
decryptWithMasterKey(String encryptedData) |
protected String |
loadMasterKey(String environmentVariable) |
public static final int GCM_TAG_LENGTH
public static final Pattern CIPHER_PATTERN