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()
EncryptionStrategy
getTransformation
in interface EncryptionStrategy
public SecretKey loadSecretKey(byte[] key) throws GeneralSecurityException
EncryptionStrategy
SecretKey
which is valid for the algorithm used by this encryption
strategy.loadSecretKey
in interface EncryptionStrategy
key
- the raw key to loadGeneralSecurityException
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.