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

public Class ProviderJcaJceHelper

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

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

Field Summary

Modifier and TypeField and Description
protected final Provider

Constructor Summary

AccessConstructor and Description
public
ProviderJcaJceHelper(Provider
the provider to use to find implementations of JCA/JCE functions.
provider
)

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

providerback to summary
protected final Provider provider

Constructor Detail

ProviderJcaJceHelperback to summary
public ProviderJcaJceHelper(Provider provider)

Base constructor.

Parameters
provider:Provider

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

Method Detail

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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