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:
createCipherin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmExceptionNoSuchPaddingException
-
createMac
- Specified by:
createMacin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createKeyAgreement
- Specified by:
createKeyAgreementin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createAlgorithmParameterGenerator
public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) throws NoSuchAlgorithmException - Specified by:
createAlgorithmParameterGeneratorin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createAlgorithmParameters
public AlgorithmParameters createAlgorithmParameters(String algorithm) throws NoSuchAlgorithmException - Specified by:
createAlgorithmParametersin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createKeyGenerator
- Specified by:
createKeyGeneratorin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createKeyFactory
- Specified by:
createKeyFactoryin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createSecretKeyFactory
- Specified by:
createSecretKeyFactoryin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createKeyPairGenerator
- Specified by:
createKeyPairGeneratorin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createDigest
- Specified by:
createDigestin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createSignature
- Specified by:
createSignaturein interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createCertificateFactory
- Specified by:
createCertificateFactoryin interfaceJcaJceHelper- Throws:
CertificateException
-
createSecureRandom
public SecureRandom createSecureRandom(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException - Specified by:
createSecureRandomin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmExceptionNoSuchProviderException
-