Skip navigation links
A B C D E G I K O P S T V 

A

activate(ComponentContext) - Method in class org.wso2.carbon.crypto.api.internal.CryptoAPIComponent
 
addProperty(String, String) - Method in class org.wso2.carbon.crypto.api.CryptoContext
Adds the given context property value against the given property name.

B

buildEmptyContext(int, String) - Static method in class org.wso2.carbon.crypto.api.CryptoContext
Creates and returns a CryptoContext which has no attribute values other than the tenant information.

C

CertificateInfo - Class in org.wso2.carbon.crypto.api
A simple data holder class which is used to encapsulate either the Certificate or the certificate information which can be used to retrieve the certificate.
CertificateInfo(String, Certificate) - Constructor for class org.wso2.carbon.crypto.api.CertificateInfo
 
CryptoAPIComponent - Class in org.wso2.carbon.crypto.api.internal
The component class which is used while activating the OSGi component.
CryptoAPIComponent() - Constructor for class org.wso2.carbon.crypto.api.internal.CryptoAPIComponent
 
CryptoContext - Class in org.wso2.carbon.crypto.api
The class which encapsulated information which is used to find out the correct keys for crypto operations.
CryptoContext(int, String, String, String, String, Map<String, String>) - Constructor for class org.wso2.carbon.crypto.api.CryptoContext
The constructor which accepts all the needed information to create a CryptoContext
CryptoException - Exception in org.wso2.carbon.crypto.api
The exception which will be thrown if something unexpected happens during crypto operations.
CryptoException() - Constructor for exception org.wso2.carbon.crypto.api.CryptoException
 
CryptoException(String) - Constructor for exception org.wso2.carbon.crypto.api.CryptoException
 
CryptoException(String, Throwable) - Constructor for exception org.wso2.carbon.crypto.api.CryptoException
 
CryptoService - Interface in org.wso2.carbon.crypto.api
The service contract of an implementation of a crypto service.

D

decrypt(byte[], String, String) - Method in interface org.wso2.carbon.crypto.api.CryptoService
Computes and returns the cleartext of the given ciphertext.
decrypt(byte[], String, String, CryptoContext) - Method in interface org.wso2.carbon.crypto.api.CryptoService
Computes and returns the cleartext of the given ciphertext comes from an external entity.
decrypt(byte[], String, String, CryptoContext, PrivateKeyInfo) - Method in interface org.wso2.carbon.crypto.api.ExternalCryptoProvider
Computes and returns the cleartext of the given ciphertext.
decrypt(byte[], String, String) - Method in interface org.wso2.carbon.crypto.api.InternalCryptoProvider
Computes and returns the cleartext of the given ciphertext.

E

encrypt(byte[], String, String) - Method in interface org.wso2.carbon.crypto.api.CryptoService
Computes and returns the ciphertext of the given cleartext.
encrypt(byte[], String, String, CryptoContext) - Method in interface org.wso2.carbon.crypto.api.CryptoService
Computes and returns the ciphertext of the given cleartext, using asymmetric cryptography.
encrypt(byte[], String, String, CryptoContext, CertificateInfo) - Method in interface org.wso2.carbon.crypto.api.ExternalCryptoProvider
Computes and returns the ciphertext of the given cleartext.
encrypt(byte[], String, String) - Method in interface org.wso2.carbon.crypto.api.InternalCryptoProvider
Computes and returns the ciphertext of the given cleartext.
ExternalCryptoProvider - Interface in org.wso2.carbon.crypto.api
The service contract for external crypto providers.

G

getCertificate() - Method in class org.wso2.carbon.crypto.api.CertificateInfo
 
getCertificate(CryptoContext) - Method in interface org.wso2.carbon.crypto.api.CryptoService
Returns the Certificate based on the given CryptoContext
getCertificate(CryptoContext, CertificateInfo) - Method in interface org.wso2.carbon.crypto.api.ExternalCryptoProvider
Returns the Certificate based on the given CryptoContext
getCertificateAlias() - Method in class org.wso2.carbon.crypto.api.CertificateInfo
 
getCertificateInfo(CryptoContext) - Method in class org.wso2.carbon.crypto.api.KeyResolver
Returns the discovery information about a certificate, based on the given context.
getIdentifier() - Method in class org.wso2.carbon.crypto.api.CryptoContext
 
getKeyAlias() - Method in class org.wso2.carbon.crypto.api.PrivateKeyInfo
 
getKeyPassword() - Method in class org.wso2.carbon.crypto.api.PrivateKeyInfo
 
getPriority() - Method in class org.wso2.carbon.crypto.api.KeyResolver
Returns the resolver priority.
getPrivateKey(CryptoContext, PrivateKeyInfo) - Method in interface org.wso2.carbon.crypto.api.ExternalCryptoProvider
Returns the PrivateKey based on the given CryptoContext
getPrivateKey(CryptoContext) - Method in interface org.wso2.carbon.crypto.api.PrivateKeyRetriever
 
getPrivateKeyInfo(CryptoContext) - Method in class org.wso2.carbon.crypto.api.KeyResolver
Returns the discovery information about a private key, based on the given context.
getProperty(String) - Method in class org.wso2.carbon.crypto.api.CryptoContext
Returns the context property which has given property name.
getPurpose() - Method in class org.wso2.carbon.crypto.api.CryptoContext
 
getTenantDomain() - Method in class org.wso2.carbon.crypto.api.CryptoContext
 
getTenantId() - Method in class org.wso2.carbon.crypto.api.CryptoContext
 
getType() - Method in class org.wso2.carbon.crypto.api.CryptoContext
 

I

InternalCryptoProvider - Interface in org.wso2.carbon.crypto.api
The service contract for internal crypto providers.
isApplicable(CryptoContext) - Method in class org.wso2.carbon.crypto.api.KeyResolver
Checks whether this resolver is applicable for the given context.

K

KeyResolver - Class in org.wso2.carbon.crypto.api
The service contract of an implementation of a key resolver.
KeyResolver() - Constructor for class org.wso2.carbon.crypto.api.KeyResolver
 

O

org.wso2.carbon.crypto.api - package org.wso2.carbon.crypto.api
 
org.wso2.carbon.crypto.api.internal - package org.wso2.carbon.crypto.api.internal
 

P

PrivateKeyInfo - Class in org.wso2.carbon.crypto.api
A simple data holder class which is used to encapsulate discovery information about a private key.
PrivateKeyInfo(String, String) - Constructor for class org.wso2.carbon.crypto.api.PrivateKeyInfo
 
PrivateKeyRetriever - Interface in org.wso2.carbon.crypto.api
The service contract of an implementation of a private key retriever.

S

setPriority(int) - Method in class org.wso2.carbon.crypto.api.KeyResolver
Sets the resolver priority.
sign(byte[], String, String, CryptoContext) - Method in interface org.wso2.carbon.crypto.api.CryptoService
Computes and returns the signature of given data.
sign(byte[], String, String, CryptoContext, PrivateKeyInfo) - Method in interface org.wso2.carbon.crypto.api.ExternalCryptoProvider
Computes and returns the signature of given data.

T

toString() - Method in class org.wso2.carbon.crypto.api.CertificateInfo
 
toString() - Method in class org.wso2.carbon.crypto.api.CryptoContext
 
toString() - Method in class org.wso2.carbon.crypto.api.KeyResolver
 
toString() - Method in class org.wso2.carbon.crypto.api.PrivateKeyInfo
 

V

verifySignature(byte[], byte[], String, String, CryptoContext) - Method in interface org.wso2.carbon.crypto.api.CryptoService
Verifies whether given signature of the given data was generated by a trusted external party.
verifySignature(byte[], byte[], String, String, CryptoContext, CertificateInfo) - Method in interface org.wso2.carbon.crypto.api.ExternalCryptoProvider
Verifies whether given signature of the given data was generated by a trusted external party.
A B C D E G I K O P S T V 
Skip navigation links

Copyright © 2018 WSO2. All rights reserved.