public class ProviderJcaJceHelper extends Object implements JcaJceHelper
JcaJceHelper
that obtains all algorithms from a specific Provider
instance.Constructor and Description |
---|
ProviderJcaJceHelper(Provider provider) |
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) |
SecureRandom |
createSecureRandom(String algorithm) |
Signature |
createSignature(String algorithm) |
protected final Provider provider
public ProviderJcaJceHelper(Provider provider)
public Cipher createCipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException
createCipher
in interface JcaJceHelper
NoSuchAlgorithmException
NoSuchPaddingException
public Mac createMac(String algorithm) throws NoSuchAlgorithmException
createMac
in interface JcaJceHelper
NoSuchAlgorithmException
public KeyAgreement createKeyAgreement(String algorithm) throws NoSuchAlgorithmException
createKeyAgreement
in interface JcaJceHelper
NoSuchAlgorithmException
public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) throws NoSuchAlgorithmException
createAlgorithmParameterGenerator
in interface JcaJceHelper
NoSuchAlgorithmException
public AlgorithmParameters createAlgorithmParameters(String algorithm) throws NoSuchAlgorithmException
createAlgorithmParameters
in interface JcaJceHelper
NoSuchAlgorithmException
public KeyGenerator createKeyGenerator(String algorithm) throws NoSuchAlgorithmException
createKeyGenerator
in interface JcaJceHelper
NoSuchAlgorithmException
public KeyFactory createKeyFactory(String algorithm) throws NoSuchAlgorithmException
createKeyFactory
in interface JcaJceHelper
NoSuchAlgorithmException
public SecretKeyFactory createSecretKeyFactory(String algorithm) throws NoSuchAlgorithmException
createSecretKeyFactory
in interface JcaJceHelper
NoSuchAlgorithmException
public KeyPairGenerator createKeyPairGenerator(String algorithm) throws NoSuchAlgorithmException
createKeyPairGenerator
in interface JcaJceHelper
NoSuchAlgorithmException
public MessageDigest createDigest(String algorithm) throws NoSuchAlgorithmException
createDigest
in interface JcaJceHelper
NoSuchAlgorithmException
public Signature createSignature(String algorithm) throws NoSuchAlgorithmException
createSignature
in interface JcaJceHelper
NoSuchAlgorithmException
public CertificateFactory createCertificateFactory(String algorithm) throws CertificateException
createCertificateFactory
in interface JcaJceHelper
CertificateException
public SecureRandom createSecureRandom(String algorithm) throws NoSuchAlgorithmException
createSecureRandom
in interface JcaJceHelper
NoSuchAlgorithmException
Copyright © 2020 BouncyCastle.org. All rights reserved.