Package org.bouncycastle.jcajce.util
Class NamedJcaJceHelper
java.lang.Object
org.bouncycastle.jcajce.util.NamedJcaJceHelper
- All Implemented Interfaces:
JcaJceHelper
JcaJceHelper
that obtains all algorithms using a specific named provider.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAlgorithmParameterGenerator
(String algorithm) createAlgorithmParameters
(String algorithm) createCertificateFactory
(String algorithm) createCertPathBuilder
(String algorithm) createCertPathValidator
(String algorithm) createCertStore
(String type, CertStoreParameters params) createCipher
(String algorithm) createDigest
(String algorithm) Deprecated.Use createMessageDigest insteadcreateExemptionMechanism
(String algorithm) createKeyAgreement
(String algorithm) createKeyFactory
(String algorithm) createKeyGenerator
(String algorithm) createKeyPairGenerator
(String algorithm) createKeyStore
(String type) createMessageDigest
(String algorithm) createSecretKeyFactory
(String algorithm) createSecureRandom
(String algorithm) createSignature
(String algorithm)
-
Field Details
-
providerName
-
-
Constructor Details
-
NamedJcaJceHelper
-
-
Method Details
-
createCipher
public Cipher createCipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException, NoSuchProviderException - Specified by:
createCipher
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchPaddingException
NoSuchProviderException
-
createMac
- Specified by:
createMac
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createKeyAgreement
public KeyAgreement createKeyAgreement(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createKeyAgreement
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createAlgorithmParameterGenerator
public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createAlgorithmParameterGenerator
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createAlgorithmParameters
public AlgorithmParameters createAlgorithmParameters(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createAlgorithmParameters
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createKeyGenerator
public KeyGenerator createKeyGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createKeyGenerator
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createKeyFactory
public KeyFactory createKeyFactory(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createKeyFactory
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createSecretKeyFactory
public SecretKeyFactory createSecretKeyFactory(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createSecretKeyFactory
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createKeyPairGenerator
public KeyPairGenerator createKeyPairGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createKeyPairGenerator
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createDigest
public MessageDigest createDigest(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException Deprecated.Use createMessageDigest instead- Specified by:
createDigest
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createMessageDigest
public MessageDigest createMessageDigest(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createMessageDigest
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createSignature
public Signature createSignature(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createSignature
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createCertificateFactory
public CertificateFactory createCertificateFactory(String algorithm) throws CertificateException, NoSuchProviderException - Specified by:
createCertificateFactory
in interfaceJcaJceHelper
- Throws:
CertificateException
NoSuchProviderException
-
createSecureRandom
public SecureRandom createSecureRandom(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createSecureRandom
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createCertPathBuilder
public CertPathBuilder createCertPathBuilder(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createCertPathBuilder
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createCertPathValidator
public CertPathValidator createCertPathValidator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createCertPathValidator
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createCertStore
public CertStore createCertStore(String type, CertStoreParameters params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, NoSuchProviderException - Specified by:
createCertStore
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
InvalidAlgorithmParameterException
NoSuchProviderException
-
createExemptionMechanism
public ExemptionMechanism createExemptionMechanism(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createExemptionMechanism
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-
createKeyStore
- Specified by:
createKeyStore
in interfaceJcaJceHelper
- Throws:
KeyStoreException
NoSuchProviderException
-