public final class AesGcmKeyWrapper extends Object implements KeyWrapper
Modifier and Type | Class and Description |
---|---|
static class |
AesGcmKeyWrapper.Builder |
Modifier and Type | Method and Description |
---|---|
static AesGcmKeyWrapper.Builder |
builder() |
String |
cekAlgorithm() |
static String |
cipherAlgorithm()
The cipher algorithm name is the string used to correctly configure the cipher provider.
|
CipherProvider |
cipherProvider() |
SecureRandom |
secureRandom() |
byte[] |
unwrapCek(byte[] encryptedCek,
Key key) |
byte[] |
wrapCek(byte[] plaintextCek,
Key key) |
public static AesGcmKeyWrapper.Builder builder()
public static String cipherAlgorithm()
InternalKeyWrapAlgorithm.algorithmName()
which is an agreed-upon term
within Amazon Web Services.public CipherProvider cipherProvider()
public SecureRandom secureRandom()
public String cekAlgorithm()
public byte[] unwrapCek(byte[] encryptedCek, Key key)
unwrapCek
in interface KeyWrapper
public byte[] wrapCek(byte[] plaintextCek, Key key)
wrapCek
in interface KeyWrapper