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 StringKEY_WRAP_TRANSFORMstatic StringURI
-
Constructor Summary
Constructors Constructor Description AESKeyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeygenerateKey(SecureRandom sr, int size)static SecretKeySpecloadKekFromUri(String keyId)static KeyunwrapKey(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)
-
-