Package org.bouncycastle.jcajce.util
Class DefaultJcaJceHelper
java.lang.Object
org.bouncycastle.jcajce.util.DefaultJcaJceHelper
- All Implemented Interfaces:
JcaJceHelper
JcaJceHelper that always returns implementations based on this JVM's default settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAlgorithmParameterGenerator
(String algorithm) createAlgorithmParameters
(String algorithm) createCertificateFactory
(String algorithm) createCipher
(String algorithm) createDigest
(String algorithm) createKeyAgreement
(String algorithm) createKeyFactory
(String algorithm) createKeyGenerator
(String algorithm) createKeyPairGenerator
(String algorithm) createSecretKeyFactory
(String algorithm) createSecureRandom
(String algorithm) createSignature
(String algorithm)
-
Constructor Details
-
DefaultJcaJceHelper
public DefaultJcaJceHelper()
-
-
Method Details
-
createCipher
public Cipher createCipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException - Specified by:
createCipher
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchPaddingException
-
createMac
- Specified by:
createMac
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createKeyAgreement
- Specified by:
createKeyAgreement
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createAlgorithmParameterGenerator
public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) throws NoSuchAlgorithmException - Specified by:
createAlgorithmParameterGenerator
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createAlgorithmParameters
public AlgorithmParameters createAlgorithmParameters(String algorithm) throws NoSuchAlgorithmException - Specified by:
createAlgorithmParameters
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createKeyGenerator
- Specified by:
createKeyGenerator
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createKeyFactory
- Specified by:
createKeyFactory
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createSecretKeyFactory
- Specified by:
createSecretKeyFactory
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createKeyPairGenerator
- Specified by:
createKeyPairGenerator
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createDigest
- Specified by:
createDigest
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createSignature
- Specified by:
createSignature
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
-
createCertificateFactory
- Specified by:
createCertificateFactory
in interfaceJcaJceHelper
- Throws:
CertificateException
-
createSecureRandom
public SecureRandom createSecureRandom(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createSecureRandom
in interfaceJcaJceHelper
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
-