Package org.bouncycastle.jcajce.util
Class ProviderJcaJceHelper
- java.lang.Object
-
- org.bouncycastle.jcajce.util.ProviderJcaJceHelper
-
- All Implemented Interfaces:
JcaJceHelper
- Direct Known Subclasses:
BCJcaJceHelper
public class ProviderJcaJceHelper extends Object implements JcaJceHelper
JcaJceHelperthat obtains all algorithms from a specificProviderinstance.
-
-
Constructor Summary
Constructors Constructor Description ProviderJcaJceHelper(Provider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmParameterGeneratorcreateAlgorithmParameterGenerator(String algorithm)AlgorithmParameterscreateAlgorithmParameters(String algorithm)CertificateFactorycreateCertificateFactory(String algorithm)CiphercreateCipher(String algorithm)MessageDigestcreateDigest(String algorithm)KeyAgreementcreateKeyAgreement(String algorithm)KeyFactorycreateKeyFactory(String algorithm)KeyGeneratorcreateKeyGenerator(String algorithm)KeyPairGeneratorcreateKeyPairGenerator(String algorithm)MaccreateMac(String algorithm)SecretKeyFactorycreateSecretKeyFactory(String algorithm)SignaturecreateSignature(String algorithm)
-
-
-
Field Detail
-
provider
protected final Provider provider
-
-
Constructor Detail
-
ProviderJcaJceHelper
public ProviderJcaJceHelper(Provider provider)
-
-
Method Detail
-
createCipher
public Cipher createCipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException
- Specified by:
createCipherin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmExceptionNoSuchPaddingException
-
createMac
public Mac createMac(String algorithm) throws NoSuchAlgorithmException
- Specified by:
createMacin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createKeyAgreement
public KeyAgreement createKeyAgreement(String algorithm) throws NoSuchAlgorithmException
- 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
public KeyGenerator createKeyGenerator(String algorithm) throws NoSuchAlgorithmException
- Specified by:
createKeyGeneratorin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createKeyFactory
public KeyFactory createKeyFactory(String algorithm) throws NoSuchAlgorithmException
- Specified by:
createKeyFactoryin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createSecretKeyFactory
public SecretKeyFactory createSecretKeyFactory(String algorithm) throws NoSuchAlgorithmException
- Specified by:
createSecretKeyFactoryin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createKeyPairGenerator
public KeyPairGenerator createKeyPairGenerator(String algorithm) throws NoSuchAlgorithmException
- Specified by:
createKeyPairGeneratorin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createDigest
public MessageDigest createDigest(String algorithm) throws NoSuchAlgorithmException
- Specified by:
createDigestin interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createSignature
public Signature createSignature(String algorithm) throws NoSuchAlgorithmException
- Specified by:
createSignaturein interfaceJcaJceHelper- Throws:
NoSuchAlgorithmException
-
createCertificateFactory
public CertificateFactory createCertificateFactory(String algorithm) throws CertificateException
- Specified by:
createCertificateFactoryin interfaceJcaJceHelper- Throws:
CertificateException
-
-