| Package | Description |
|---|---|
| org.wso2.carbon.crypto.api |
| Modifier and Type | Method and Description |
|---|---|
abstract PrivateKeyInfo |
KeyResolver.getPrivateKeyInfo(CryptoContext cryptoContext)
Returns the discovery information about a private key, based on the given context.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ExternalCryptoProvider.decrypt(byte[] ciphertext,
String algorithm,
String javaSecurityAPIProvider,
CryptoContext cryptoContext,
PrivateKeyInfo privateKeyInfo)
Computes and returns the cleartext of the given ciphertext.
|
PrivateKey |
ExternalCryptoProvider.getPrivateKey(CryptoContext cryptoContext,
PrivateKeyInfo privateKeyInfo)
Returns the
PrivateKey based on the given CryptoContext. |
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. |
byte[] |
ExternalCryptoProvider.sign(byte[] data,
String algorithm,
String javaSecurityAPIProvider,
CryptoContext cryptoContext,
PrivateKeyInfo privateKeyInfo)
Computes and returns the signature of given data.
|
Copyright © 2019 WSO2. All rights reserved.