Bouncy Castle Cryptography 1.46

org.bouncycastle.cms.jcajce
Class JcePasswordRecipientInfoGenerator

java.lang.Object
  extended by org.bouncycastle.cms.PasswordRecipientInfoGenerator
      extended by org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator
All Implemented Interfaces:
RecipientInfoGenerator

public class JcePasswordRecipientInfoGenerator
extends PasswordRecipientInfoGenerator


Constructor Summary
JcePasswordRecipientInfoGenerator(ASN1ObjectIdentifier kekAlgorithm, char[] password)
           
 
Method Summary
 byte[] generateEncryptedBytes(AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, org.bouncycastle.operator.GenericKey contentEncryptionKey)
           
 JcePasswordRecipientInfoGenerator setProvider(java.security.Provider provider)
           
 JcePasswordRecipientInfoGenerator setProvider(java.lang.String providerName)
           
 
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

JcePasswordRecipientInfoGenerator

public JcePasswordRecipientInfoGenerator(ASN1ObjectIdentifier kekAlgorithm,
                                         char[] password)
Method Detail

setProvider

public JcePasswordRecipientInfoGenerator setProvider(java.security.Provider provider)

setProvider

public JcePasswordRecipientInfoGenerator setProvider(java.lang.String providerName)

generateEncryptedBytes

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

Bouncy Castle Cryptography 1.46