public class SymmetricCipher extends BaseCipher
keyStoreWrapper
Constructor and Description |
---|
SymmetricCipher(CipherInformation cipherInformation,
Key key) |
SymmetricCipher(CipherInformation cipherInformation,
KeyStoreInformation keystoreInformation) |
SymmetricCipher(CipherInformation cipherInformation,
KeyStoreWrapper keyStoreWrapper) |
Modifier and Type | Method and Description |
---|---|
Key |
getKey(CipherOperationMode operationMode)
Returns the correct key for correct operation
|
decrypt, encrypt, getCipherInformation, getKeyStoreInformation
public SymmetricCipher(CipherInformation cipherInformation, KeyStoreInformation keystoreInformation)
public SymmetricCipher(CipherInformation cipherInformation, KeyStoreWrapper keyStoreWrapper)
public SymmetricCipher(CipherInformation cipherInformation, Key key)
public Key getKey(CipherOperationMode operationMode)
BaseCipher
getKey
in class BaseCipher
operationMode
- Ciper operationCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.