Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cert.crmf.jcajce
Class JceAsymmetricValueDecryptorGenerator

java.lang.Object
  |
  +--org.bouncycastle.cert.crmf.jcajce.JceAsymmetricValueDecryptorGenerator
All Implemented Interfaces:
ValueDecryptorGenerator

public class JceAsymmetricValueDecryptorGenerator
extends java.lang.Object
implements ValueDecryptorGenerator


Constructor Summary
JceAsymmetricValueDecryptorGenerator(java.security.PrivateKey recipientKey)
           
 
Method Summary
 InputDecryptor getValueDecryptor(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey)
           
 JceAsymmetricValueDecryptorGenerator setProvider(java.security.Provider provider)
           
 JceAsymmetricValueDecryptorGenerator setProvider(java.lang.String providerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceAsymmetricValueDecryptorGenerator

public JceAsymmetricValueDecryptorGenerator(java.security.PrivateKey recipientKey)
Method Detail

setProvider

public JceAsymmetricValueDecryptorGenerator setProvider(java.security.Provider provider)

setProvider

public JceAsymmetricValueDecryptorGenerator setProvider(java.lang.String providerName)

getValueDecryptor

public InputDecryptor getValueDecryptor(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
                                        org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
                                        byte[] encryptedContentEncryptionKey)
                                 throws CRMFException
Specified by:
getValueDecryptor in interface ValueDecryptorGenerator

Bouncy Castle Cryptography Library 1.79