public static class EncryptionServiceImpl.DESedeEncryptionStrategy extends Object implements EncryptionStrategy
| Constructor and Description |
|---|
DESedeEncryptionStrategy() |
| 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. |
public DESedeEncryptionStrategy()
public String getTransformation()
EncryptionStrategygetTransformation in interface EncryptionStrategypublic SecretKey loadSecretKey(byte[] key) throws GeneralSecurityException
EncryptionStrategySecretKey which is valid for the algorithm used by this encryption
strategy.loadSecretKey in interface EncryptionStrategykey - the raw key to loadGeneralSecurityExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.