public class EncryptionKeyWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
EncryptionKeyWrapper() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getSecretKeyBytes()
Returns the secret key based on initialization data
|
void |
init(SecretInformation secretInformation,
String secretKey)
Initialize the Encryption Key wrapper based on provided SecretInformation
|
public void init(SecretInformation secretInformation, String secretKey)
secretInformation - The object that has encapsulated all informationsecretKey - The secret key used for encryptionpublic byte[] getSecretKeyBytes()
SecureVaultException - if key validation failsCopyright © 2026 WSO2. All rights reserved.