public class NamedJcaJceHelper extends Object implements JcaJceHelper
Constructor and Description |
---|
NamedJcaJceHelper(String providerName) |
Modifier and Type | Method and Description |
---|---|
AlgorithmParameterGenerator |
createAlgorithmParameterGenerator(String algorithm) |
AlgorithmParameters |
createAlgorithmParameters(String algorithm) |
AsymmetricKeyUnwrapper |
createAsymmetricUnwrapper(AlgorithmIdentifier keyEncryptionAlgorithm,
PrivateKey keyEncryptionKey) |
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) |
Signature |
createSignature(String algorithm) |
SymmetricKeyUnwrapper |
createSymmetricUnwrapper(AlgorithmIdentifier keyEncryptionAlgorithm,
SecretKey keyEncryptionKey) |
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 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 NoSuchAlgorithmException, CertificateException, NoSuchProviderException
createCertificateFactory
in interface JcaJceHelper
NoSuchAlgorithmException
CertificateException
NoSuchProviderException
public AsymmetricKeyUnwrapper createAsymmetricUnwrapper(AlgorithmIdentifier keyEncryptionAlgorithm, PrivateKey keyEncryptionKey)
createAsymmetricUnwrapper
in interface JcaJceHelper
public SymmetricKeyUnwrapper createSymmetricUnwrapper(AlgorithmIdentifier keyEncryptionAlgorithm, SecretKey keyEncryptionKey)
createSymmetricUnwrapper
in interface JcaJceHelper
Copyright © 2015. All rights reserved.