public class AESKeyUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_WRAP_TRANSFORM |
static String |
URI |
Constructor and Description |
---|
AESKeyUtils() |
Modifier and Type | Method and 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) |
public static final String URI
public static final String KEY_WRAP_TRANSFORM
public static Key generateKey(SecureRandom sr, int size)
public static SecretKeySpec loadKekFromUri(String keyId)
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.