Package org.apache.synapse.securevault
Class AsymmetricCipher
java.lang.Object
org.apache.synapse.securevault.BaseCipher
org.apache.synapse.securevault.AsymmetricCipher
- All Implemented Interfaces:
DecryptionProvider,EncryptionProvider
The Cipher doing asymmetric cryptographic operations
-
Field Summary
Fields inherited from class org.apache.synapse.securevault.BaseCipher
keyStoreWrapper -
Constructor Summary
ConstructorsConstructorDescriptionAsymmetricCipher(CipherInformation cipherInformation, Key key) AsymmetricCipher(CipherInformation cipherInformation, KeyStoreInformation keystoreInformation) AsymmetricCipher(CipherInformation cipherInformation, KeyStoreWrapper keyStoreWrapper) -
Method Summary
Modifier and TypeMethodDescriptiongetKey(CipherOperationMode operationMode) Returns the correct key for correct operationMethods inherited from class org.apache.synapse.securevault.BaseCipher
decrypt, encrypt, getCipherInformation, getKeyStoreInformation
-
Constructor Details
-
AsymmetricCipher
public AsymmetricCipher(CipherInformation cipherInformation, KeyStoreInformation keystoreInformation) -
AsymmetricCipher
-
AsymmetricCipher
-
-
Method Details
-
getKey
Description copied from class:BaseCipherReturns the correct key for correct operation- Specified by:
getKeyin classBaseCipher- Parameters:
operationMode- Ciper operation- Returns:
- A key
-