public class NamedJcaJceHelper extends java.lang.Object implements JcaJceHelper
JcaJceHelper
that obtains all algorithms using a specific named provider.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
providerName |
Constructor and Description |
---|
NamedJcaJceHelper(java.lang.String providerName) |
Modifier and Type | Method and Description |
---|---|
java.security.AlgorithmParameterGenerator |
createAlgorithmParameterGenerator(java.lang.String algorithm) |
java.security.AlgorithmParameters |
createAlgorithmParameters(java.lang.String algorithm) |
java.security.cert.CertificateFactory |
createCertificateFactory(java.lang.String algorithm) |
javax.crypto.Cipher |
createCipher(java.lang.String algorithm) |
java.security.MessageDigest |
createDigest(java.lang.String algorithm) |
javax.crypto.KeyAgreement |
createKeyAgreement(java.lang.String algorithm) |
java.security.KeyFactory |
createKeyFactory(java.lang.String algorithm) |
javax.crypto.KeyGenerator |
createKeyGenerator(java.lang.String algorithm) |
java.security.KeyPairGenerator |
createKeyPairGenerator(java.lang.String algorithm) |
javax.crypto.Mac |
createMac(java.lang.String algorithm) |
javax.crypto.SecretKeyFactory |
createSecretKeyFactory(java.lang.String algorithm) |
java.security.SecureRandom |
createSecureRandom(java.lang.String algorithm) |
java.security.Signature |
createSignature(java.lang.String algorithm) |
public javax.crypto.Cipher createCipher(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.NoSuchProviderException
createCipher
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
javax.crypto.NoSuchPaddingException
java.security.NoSuchProviderException
public javax.crypto.Mac createMac(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createMac
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public javax.crypto.KeyAgreement createKeyAgreement(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createKeyAgreement
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public java.security.AlgorithmParameterGenerator createAlgorithmParameterGenerator(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createAlgorithmParameterGenerator
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public java.security.AlgorithmParameters createAlgorithmParameters(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createAlgorithmParameters
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public javax.crypto.KeyGenerator createKeyGenerator(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createKeyGenerator
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public java.security.KeyFactory createKeyFactory(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createKeyFactory
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public javax.crypto.SecretKeyFactory createSecretKeyFactory(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createSecretKeyFactory
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public java.security.KeyPairGenerator createKeyPairGenerator(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createKeyPairGenerator
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public java.security.MessageDigest createDigest(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createDigest
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public java.security.Signature createSignature(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createSignature
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public java.security.cert.CertificateFactory createCertificateFactory(java.lang.String algorithm) throws java.security.cert.CertificateException, java.security.NoSuchProviderException
createCertificateFactory
in interface JcaJceHelper
java.security.cert.CertificateException
java.security.NoSuchProviderException
public java.security.SecureRandom createSecureRandom(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
createSecureRandom
in interface JcaJceHelper
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException