Bouncy Castle Cryptography Library 1.49

org.bouncycastle.cms.bc
Class BcPasswordRecipientInfoGenerator

java.lang.Object
  extended by org.bouncycastle.cms.PasswordRecipientInfoGenerator
      extended by org.bouncycastle.cms.bc.BcPasswordRecipientInfoGenerator
All Implemented Interfaces:
RecipientInfoGenerator

public class BcPasswordRecipientInfoGenerator
extends PasswordRecipientInfoGenerator


Constructor Summary
BcPasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm, char[] password)
           
 
Method Summary
 byte[] generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey)
           
 
Methods inherited from class org.bouncycastle.cms.PasswordRecipientInfoGenerator
generate, setPasswordConversionScheme, setSaltAndIterationCount, setSecureRandom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BcPasswordRecipientInfoGenerator

public BcPasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm,
                                        char[] password)
Method Detail

generateEncryptedBytes

public byte[] generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
                                     byte[] derivedKey,
                                     GenericKey contentEncryptionKey)
                              throws CMSException
Specified by:
generateEncryptedBytes in class PasswordRecipientInfoGenerator
Throws:
CMSException

Bouncy Castle Cryptography Library 1.49