public class AsymmetricCipher extends BaseCipher
keyStoreWrapper
Constructor and Description |
---|
AsymmetricCipher(CipherInformation cipherInformation,
Key key) |
AsymmetricCipher(CipherInformation cipherInformation,
KeyStoreInformation keystoreInformation) |
AsymmetricCipher(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 AsymmetricCipher(CipherInformation cipherInformation, KeyStoreInformation keystoreInformation)
public AsymmetricCipher(CipherInformation cipherInformation, KeyStoreWrapper keyStoreWrapper)
public AsymmetricCipher(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.