Top Fields Constructors Methods
org.bouncycastle.cert.crmf.jcajce

public Class JceAsymmetricValueDecryptorGenerator

extends Object
implements ValueDecryptorGenerator
Class Inheritance
All Implemented Interfaces
org.bouncycastle.cert.crmf.ValueDecryptorGenerator
Imports
java.io.InputStream, java.security.Key, .PrivateKey, .Provider, javax.crypto.Cipher, javax.crypto.spec.SecretKeySpec, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.cert.crmf.CRMFException, .ValueDecryptorGenerator, org.bouncycastle.jcajce.io.CipherInputStream, org.bouncycastle.jcajce.util.DefaultJcaJceHelper, .NamedJcaJceHelper, .ProviderJcaJceHelper, org.bouncycastle.operator.InputDecryptor, .OperatorException, org.bouncycastle.operator.jcajce.JceAsymmetricKeyUnwrapper

Field Summary

Modifier and TypeField and Description
private CRMFHelper
private Provider
private String
private PrivateKey

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Key
extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey)

public InputDecryptor
getValueDecryptor(AlgorithmIdentifier keyEncryptionAlgorithm, final AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey)

Implements org.bouncycastle.cert.crmf.ValueDecryptorGenerator.getValueDecryptor.

public JceAsymmetricValueDecryptorGenerator
public JceAsymmetricValueDecryptorGenerator
setProvider(String providerName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

helperback to summary
private CRMFHelper helper
providerback to summary
private Provider provider
providerNameback to summary
private String providerName
recipientKeyback to summary
private PrivateKey recipientKey

Constructor Detail

JceAsymmetricValueDecryptorGeneratorback to summary
public JceAsymmetricValueDecryptorGenerator(PrivateKey recipientKey)

Method Detail

extractSecretKeyback to summary
private Key extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CRMFException
getValueDecryptorback to summary
public InputDecryptor getValueDecryptor(AlgorithmIdentifier keyEncryptionAlgorithm, final AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CRMFException

Implements org.bouncycastle.cert.crmf.ValueDecryptorGenerator.getValueDecryptor.

setProviderback to summary
public JceAsymmetricValueDecryptorGenerator setProvider(Provider provider)
setProviderback to summary
public JceAsymmetricValueDecryptorGenerator setProvider(String providerName)