| Package | Description |
|---|---|
| org.wso2.carbon.crypto.api |
| Modifier and Type | Method and Description |
|---|---|
default HybridEncryptionOutput |
CryptoService.hybridEncrypt(HybridEncryptionInput hybridEncryptionInput,
String symmetricAlgorithm,
String asymmetricAlgorithm,
String javaSecurityProvider,
CryptoContext cryptoContext)
In hybrid encryption clear data is encrypted using symmetric encryption mechanism
and symmetric key used for encryption is encrypted with asymmetric encryption.
|
default HybridEncryptionOutput |
ExternalCryptoProvider.hybridEncrypt(HybridEncryptionInput hybridEncryptionInput,
String symmetricAlgorithm,
String asymmetricAlgorithm,
String javaSecurityProvider,
CryptoContext cryptoContext,
CertificateInfo certificateInfo)
Computes and return a
HybridEncryptionOutput based on provided HybridEncryptionInput. |
| Modifier and Type | Method and Description |
|---|---|
default byte[] |
CryptoService.hybridDecrypt(HybridEncryptionOutput hybridEncryptionOutput,
String symmetricAlgorithm,
String asymmetricAlgorithm,
String javaSecurityProvider,
CryptoContext cryptoContext)
In hybrid decryption symmetric key used for encryption is decrypted with asymmetric decryption
and cipher data is decrypted using symmetric decryption mechanism.
|
default byte[] |
ExternalCryptoProvider.hybridDecrypt(HybridEncryptionOutput hybridEncryptionOutput,
String symmetricAlgorithm,
String asymmetricAlgorithm,
String javaSecurityProvider,
CryptoContext cryptoContext,
PrivateKeyInfo privateKeyInfo)
Computes and return clear data based on provided
HybridEncryptionOutput. |
Copyright © 2019 WSO2. All rights reserved.