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 JcaJceHelperjava.security.NoSuchAlgorithmExceptionjavax.crypto.NoSuchPaddingExceptionjava.security.NoSuchProviderExceptionpublic javax.crypto.Mac createMac(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createMac in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic javax.crypto.KeyAgreement createKeyAgreement(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createKeyAgreement in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic java.security.AlgorithmParameterGenerator createAlgorithmParameterGenerator(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createAlgorithmParameterGenerator in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic java.security.AlgorithmParameters createAlgorithmParameters(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createAlgorithmParameters in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic javax.crypto.KeyGenerator createKeyGenerator(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createKeyGenerator in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic java.security.KeyFactory createKeyFactory(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createKeyFactory in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic javax.crypto.SecretKeyFactory createSecretKeyFactory(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createSecretKeyFactory in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic java.security.KeyPairGenerator createKeyPairGenerator(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createKeyPairGenerator in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic java.security.MessageDigest createDigest(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createDigest in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic java.security.Signature createSignature(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createSignature in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionpublic java.security.cert.CertificateFactory createCertificateFactory(java.lang.String algorithm)
throws java.security.cert.CertificateException,
java.security.NoSuchProviderException
createCertificateFactory in interface JcaJceHelperjava.security.cert.CertificateExceptionjava.security.NoSuchProviderExceptionpublic java.security.SecureRandom createSecureRandom(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
createSecureRandom in interface JcaJceHelperjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderException