public interface EncryptionStrategy
| Modifier and Type | Method and Description |
|---|---|
String |
getTransformation()
Return a String value representing the transformation to use for encryption in the form "algorithm/mode/padding".
|
SecretKey |
loadSecretKey(byte[] key)
Loads the given raw key bytes into a
SecretKey which is valid for the algorithm used by this encryption
strategy. |
String getTransformation()
SecretKey loadSecretKey(byte[] key) throws GeneralSecurityException
SecretKey which is valid for the algorithm used by this encryption
strategy.key - the raw key to loadGeneralSecurityExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.