Package org.bouncycastle.jcajce.util
Interface JcaJceHelper
-
- All Known Implementing Classes:
BCJcaJceHelper,DefaultJcaJceHelper,NamedJcaJceHelper,ProviderJcaJceHelper
public interface JcaJceHelperFactory interface for instantiating JCA/JCE primitives.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.security.AlgorithmParameterGeneratorcreateAlgorithmParameterGenerator(java.lang.String algorithm)java.security.AlgorithmParameterscreateAlgorithmParameters(java.lang.String algorithm)java.security.cert.CertificateFactorycreateCertificateFactory(java.lang.String algorithm)java.security.cert.CertPathBuildercreateCertPathBuilder(java.lang.String algorithm)java.security.cert.CertPathValidatorcreateCertPathValidator(java.lang.String algorithm)java.security.cert.CertStorecreateCertStore(java.lang.String type, java.security.cert.CertStoreParameters params)javax.crypto.CiphercreateCipher(java.lang.String algorithm)java.security.MessageDigestcreateDigest(java.lang.String algorithm)Deprecated.Use createMessageDigest insteadjavax.crypto.ExemptionMechanismcreateExemptionMechanism(java.lang.String algorithm)javax.crypto.KeyAgreementcreateKeyAgreement(java.lang.String algorithm)java.security.KeyFactorycreateKeyFactory(java.lang.String algorithm)javax.crypto.KeyGeneratorcreateKeyGenerator(java.lang.String algorithm)java.security.KeyPairGeneratorcreateKeyPairGenerator(java.lang.String algorithm)java.security.KeyStorecreateKeyStore(java.lang.String type)javax.crypto.MaccreateMac(java.lang.String algorithm)java.security.MessageDigestcreateMessageDigest(java.lang.String algorithm)javax.crypto.SecretKeyFactorycreateSecretKeyFactory(java.lang.String algorithm)java.security.SecureRandomcreateSecureRandom(java.lang.String algorithm)java.security.SignaturecreateSignature(java.lang.String algorithm)
-
-
-
Method Detail
-
createCipher
javax.crypto.Cipher createCipher(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjavax.crypto.NoSuchPaddingExceptionjava.security.NoSuchProviderException
-
createMac
javax.crypto.Mac createMac(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createKeyAgreement
javax.crypto.KeyAgreement createKeyAgreement(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createAlgorithmParameterGenerator
java.security.AlgorithmParameterGenerator createAlgorithmParameterGenerator(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createAlgorithmParameters
java.security.AlgorithmParameters createAlgorithmParameters(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createKeyGenerator
javax.crypto.KeyGenerator createKeyGenerator(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createKeyFactory
java.security.KeyFactory createKeyFactory(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createSecretKeyFactory
javax.crypto.SecretKeyFactory createSecretKeyFactory(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createKeyPairGenerator
java.security.KeyPairGenerator createKeyPairGenerator(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createDigest
java.security.MessageDigest createDigest(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderExceptionDeprecated.Use createMessageDigest instead- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createMessageDigest
java.security.MessageDigest createMessageDigest(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createSignature
java.security.Signature createSignature(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createCertificateFactory
java.security.cert.CertificateFactory createCertificateFactory(java.lang.String algorithm) throws java.security.NoSuchProviderException, java.security.cert.CertificateException- Throws:
java.security.NoSuchProviderExceptionjava.security.cert.CertificateException
-
createSecureRandom
java.security.SecureRandom createSecureRandom(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createCertPathBuilder
java.security.cert.CertPathBuilder createCertPathBuilder(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createCertPathValidator
java.security.cert.CertPathValidator createCertPathValidator(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createCertStore
java.security.cert.CertStore createCertStore(java.lang.String type, java.security.cert.CertStoreParameters params) throws java.security.NoSuchAlgorithmException, java.security.InvalidAlgorithmParameterException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.InvalidAlgorithmParameterExceptionjava.security.NoSuchProviderException
-
createExemptionMechanism
javax.crypto.ExemptionMechanism createExemptionMechanism(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException
-
createKeyStore
java.security.KeyStore createKeyStore(java.lang.String type) throws java.security.KeyStoreException, java.security.NoSuchProviderException- Throws:
java.security.KeyStoreExceptionjava.security.NoSuchProviderException
-
-