Package org.wso2.securevault
Interface DecryptionProvider
- All Known Implementing Classes:
AsymmetricCipher,BaseCipher,SymmetricCipher
public interface DecryptionProvider
Provides Decrypt operation
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]decrypt(byte[] cipherText) Decrypts input cipher bytesdefault byte[]decrypt(byte[] cipherText, AlgorithmParameterSpec params) Decrypts input cipher bytes.
-
Method Details
-
decrypt
byte[] decrypt(byte[] cipherText) Decrypts input cipher bytes- Parameters:
cipherText- as a byte array- Returns:
- plain text as byte array
-
decrypt
Decrypts input cipher bytes.- Parameters:
cipherText- Encrypted text as a byte array.params- The algorithm parameters.- Returns:
- Plain text as byte array.
-