| Package | Description |
|---|---|
| org.wso2.carbon.crypto.api |
| Modifier and Type | Method and Description |
|---|---|
abstract CertificateInfo |
KeyResolver.getCertificateInfo(CryptoContext cryptoContext)
Returns the discovery information about a certificate, based on the given context.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ExternalCryptoProvider.encrypt(byte[] data,
String algorithm,
String javaSecurityAPIProvider,
CryptoContext cryptoContext,
CertificateInfo certificateInfo)
Computes and returns the ciphertext of the given cleartext.
|
Certificate |
ExternalCryptoProvider.getCertificate(CryptoContext cryptoContext,
CertificateInfo certificateInfo)
Returns the
Certificate based on the given CryptoContext |
boolean |
ExternalCryptoProvider.verifySignature(byte[] data,
byte[] signature,
String algorithm,
String javaSecurityAPIProvider,
CryptoContext cryptoContext,
CertificateInfo certificateInfo)
Verifies whether given signature of the given data was generated by a trusted external party.
|
Copyright © 2018 WSO2. All rights reserved.