Top Description Fields Constructors Methods
org.bouncycastle.jcajce.util

public Class NamedJcaJceHelper

extends Object
implements JcaJceHelper
Class Inheritance
All Implemented Interfaces
org.bouncycastle.jcajce.util.JcaJceHelper
Imports
java.security.AlgorithmParameterGenerator, .AlgorithmParameters, .KeyFactory, .KeyPairGenerator, .MessageDigest, .NoSuchAlgorithmException, .NoSuchProviderException, .SecureRandom, .Signature, java.security.cert.CertificateException, .CertificateFactory, javax.crypto.Cipher, .KeyAgreement, .KeyGenerator, .Mac, .NoSuchPaddingException, .SecretKeyFactory

JcaJceHelper that always returns implementations based on the named provider specified at construction time.

Field Summary

Modifier and TypeField and Description
protected final String

Constructor Summary

AccessConstructor and Description
public
NamedJcaJceHelper(String
the name of provider to use to find implementations of JCA/JCE functions.
providerName
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public AlgorithmParameterGenerator
public AlgorithmParameters
public CertificateFactory
public Cipher
public MessageDigest
public KeyAgreement
public KeyFactory
public KeyGenerator
public KeyPairGenerator
public Mac
public SecretKeyFactory
public SecureRandom
public Signature
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

providerNameback to summary
protected final String providerName

Constructor Detail

NamedJcaJceHelperback to summary
public NamedJcaJceHelper(String providerName)

Base constructor.

Parameters
providerName:String

the name of provider to use to find implementations of JCA/JCE functions.

Method Detail

createAlgorithmParameterGeneratorback to summary
public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createAlgorithmParameterGenerator.

createAlgorithmParametersback to summary
public AlgorithmParameters createAlgorithmParameters(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createAlgorithmParameters.

createCertificateFactoryback to summary
public CertificateFactory createCertificateFactory(String algorithm) throws CertificateException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createCertificateFactory.

createCipherback to summary
public Cipher createCipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createCipher.

createDigestback to summary
public MessageDigest createDigest(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createDigest.

createKeyAgreementback to summary
public KeyAgreement createKeyAgreement(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createKeyAgreement.

createKeyFactoryback to summary
public KeyFactory createKeyFactory(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createKeyFactory.

createKeyGeneratorback to summary
public KeyGenerator createKeyGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createKeyGenerator.

createKeyPairGeneratorback to summary
public KeyPairGenerator createKeyPairGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createKeyPairGenerator.

createMacback to summary
public Mac createMac(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createMac.

createSecretKeyFactoryback to summary
public SecretKeyFactory createSecretKeyFactory(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createSecretKeyFactory.

createSecureRandomback to summary
public SecureRandom createSecureRandom(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createSecureRandom.

createSignatureback to summary
public Signature createSignature(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException

Implements org.bouncycastle.jcajce.util.JcaJceHelper.createSignature.