Uses of Class
org.wso2.carbon.crypto.api.CryptoException
Packages that use CryptoException
-
Uses of CryptoException in org.wso2.carbon.crypto.api
Methods in org.wso2.carbon.crypto.api that throw CryptoExceptionModifier and TypeMethodDescriptiondefault byte[]CryptoService.customDecrypt(byte[] ciphertext, String algorithm, String javaSecurityAPIProvider, Object... params) Computes and returns the plain text of a given cipher text.default byte[]CryptoService.customEncrypt(byte[] cleartext, String algorithm, String javaSecurityAPIProvider, boolean returnSelfContainedCipherText, Object... params) Computes and returns the ciphertext of the given cleartext.byte[]Computes and returns the cleartext of the given ciphertext.default byte[]CryptoService.decrypt(byte[] ciphertext, String algorithm, String javaSecurityAPIProvider, String internalCryptoProviderType) Computes and returns the plain text of a given cipher text.byte[]CryptoService.decrypt(byte[] ciphertext, String algorithm, String javaSecurityAPIProvider, CryptoContext cryptoContext) Computes and returns the cleartext of the given ciphertext comes from an external entity.byte[]ExternalCryptoProvider.decrypt(byte[] ciphertext, String algorithm, String javaSecurityAPIProvider, CryptoContext cryptoContext, PrivateKeyInfo privateKeyInfo) Computes and returns the cleartext of the given ciphertext.byte[]Computes and returns the cleartext of the given ciphertext.default byte[]InternalCryptoProvider.decrypt(byte[] ciphertext, String algorithm, String javaSecurityAPIProvider, Object... params) Computes and returns the cleartext of the given ciphertext.byte[]Computes and returns the ciphertext of the given cleartext.default byte[]CryptoService.encrypt(byte[] cleartext, String algorithm, String javaSecurityAPIProvider, boolean returnSelfContainedCipherText) Computes and returns the ciphertext of the given cleartext.default byte[]CryptoService.encrypt(byte[] cleartext, String algorithm, String javaSecurityAPIProvider, boolean returnSelfContainedCipherText, String internalCryptoProviderType) Computes and returns the cipher text of the given cleartext.byte[]CryptoService.encrypt(byte[] cleartext, String algorithm, String javaSecurityAPIProvider, CryptoContext cryptoContext) Computes and returns the ciphertext of the given cleartext, using asymmetric cryptography.byte[]ExternalCryptoProvider.encrypt(byte[] data, String algorithm, String javaSecurityAPIProvider, CryptoContext cryptoContext, CertificateInfo certificateInfo) Computes and returns the ciphertext of the given cleartext.byte[]Computes and returns the ciphertext of the given cleartext.default byte[]InternalCryptoProvider.encrypt(byte[] cleartext, String algorithm, String javaSecurityAPIProvider, boolean returnSelfContainedCipherText) Computes and returns the ciphertext of the given cleartext.default byte[]InternalCryptoProvider.encrypt(byte[] cleartext, String algorithm, String javaSecurityAPIProvider, boolean returnSelfContainedCipherText, Object... params) Computes and returns the ciphertext of the given cleartext.CryptoService.getCertificate(CryptoContext cryptoContext) Returns theCertificatebased on the givenCryptoContext.ExternalCryptoProvider.getCertificate(CryptoContext cryptoContext, CertificateInfo certificateInfo) Returns theCertificatebased on the givenCryptoContext.ExternalCryptoProvider.getPrivateKey(CryptoContext cryptoContext, PrivateKeyInfo privateKeyInfo) Returns thePrivateKeybased on the givenCryptoContext.PrivateKeyRetriever.getPrivateKey(CryptoContext cryptoContext) 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 providedHybridEncryptionOutput.default HybridEncryptionOutputCryptoService.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 HybridEncryptionOutputExternalCryptoProvider.hybridEncrypt(HybridEncryptionInput hybridEncryptionInput, String symmetricAlgorithm, String asymmetricAlgorithm, String javaSecurityProvider, CryptoContext cryptoContext, CertificateInfo certificateInfo) Computes and return aHybridEncryptionOutputbased on providedHybridEncryptionInput.byte[]CryptoService.sign(byte[] data, String algorithm, String javaSecurityAPIProvider, CryptoContext cryptoContext) Computes and returns the signature of given data.byte[]ExternalCryptoProvider.sign(byte[] data, String algorithm, String javaSecurityAPIProvider, CryptoContext cryptoContext, PrivateKeyInfo privateKeyInfo) Computes and returns the signature of given data.booleanCryptoService.verifySignature(byte[] data, byte[] signature, String algorithm, String javaSecurityAPIProvider, CryptoContext cryptoContext) Verifies whether given signature of the given data was generated by a trusted external party.booleanExternalCryptoProvider.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.