public class NamedJcaJceHelper extends Object implements JcaJceHelper
JcaJceHelper
that obtains all algorithms using a specific named provider.Modifier and Type | Field and Description |
---|---|
protected String |
providerName |
Constructor and Description |
---|
NamedJcaJceHelper(String providerName) |
Modifier and Type | Method and Description |
---|---|
AlgorithmParameterGenerator |
createAlgorithmParameterGenerator(String algorithm) |
AlgorithmParameters |
createAlgorithmParameters(String algorithm) |
CertificateFactory |
createCertificateFactory(String algorithm) |
Cipher |
createCipher(String algorithm) |
MessageDigest |
createDigest(String algorithm) |
KeyAgreement |
createKeyAgreement(String algorithm) |
KeyFactory |
createKeyFactory(String algorithm) |
KeyGenerator |
createKeyGenerator(String algorithm) |
KeyPairGenerator |
createKeyPairGenerator(String algorithm) |
Mac |
createMac(String algorithm) |
SecretKeyFactory |
createSecretKeyFactory(String algorithm) |
Signature |
createSignature(String algorithm) |
protected final String providerName
public NamedJcaJceHelper(String providerName)
public Cipher createCipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException, NoSuchProviderException
createCipher
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchPaddingException
NoSuchProviderException
public Mac createMac(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createMac
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public KeyAgreement createKeyAgreement(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createKeyAgreement
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createAlgorithmParameterGenerator
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public AlgorithmParameters createAlgorithmParameters(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createAlgorithmParameters
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public KeyGenerator createKeyGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createKeyGenerator
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public KeyFactory createKeyFactory(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createKeyFactory
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public SecretKeyFactory createSecretKeyFactory(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createSecretKeyFactory
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public KeyPairGenerator createKeyPairGenerator(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createKeyPairGenerator
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public MessageDigest createDigest(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createDigest
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public Signature createSignature(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createSignature
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchProviderException
public CertificateFactory createCertificateFactory(String algorithm) throws CertificateException, NoSuchProviderException
createCertificateFactory
in interface JcaJceHelper
CertificateException
NoSuchProviderException
Copyright © 2016 BouncyCastle.org. All rights reserved.