| 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 |
byte[] |
ExternalCryptoProvider.sign(byte[] data,
String algorithm,
String javaSecurityAPIProvider,
CryptoContext cryptoContext,
PrivateKeyInfo privateKeyInfo)
Computes and returns the signature of given data.
|
Copyright © 2018 WSO2. All rights reserved.