Class AESKeyUtils
- java.lang.Object
-
- org.apache.accumulo.core.cryptoImpl.AESKeyUtils
-
public class AESKeyUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_WRAP_TRANSFORM
static String
URI
-
Constructor Summary
Constructors Constructor Description AESKeyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Key
generateKey(SecureRandom sr, int size)
static SecretKeySpec
loadKekFromUri(String keyId)
static Key
unwrapKey(byte[] fek, Key kek)
static byte[]
wrapKey(Key fek, Key kek)
-
-
-
Field Detail
-
URI
public static final String URI
- See Also:
- Constant Field Values
-
KEY_WRAP_TRANSFORM
public static final String KEY_WRAP_TRANSFORM
- See Also:
- Constant Field Values
-
-
Method Detail
-
generateKey
public static Key generateKey(SecureRandom sr, int size)
-
loadKekFromUri
public static SecretKeySpec loadKekFromUri(String keyId)
-
-