public abstract class

PasswordRecipientInfoGenerator

extends Object
implements RecipientInfoGenerator
java.lang.Object
   ↳ org.bouncycastle.cms.PasswordRecipientInfoGenerator
Known Direct Subclasses

Summary

Protected Constructors
PasswordRecipientInfoGenerator(ASN1ObjectIdentifier kekAlgorithm, char[] password)
PasswordRecipientInfoGenerator(ASN1ObjectIdentifier kekAlgorithm, char[] password, int keySize, int blockSize)
Public Methods
RecipientInfo generate(GenericKey contentEncryptionKey)
PasswordRecipientInfoGenerator setPasswordConversionScheme(int schemeID)
PasswordRecipientInfoGenerator setSaltAndIterationCount(byte[] salt, int iterationCount)
PasswordRecipientInfoGenerator setSecureRandom(SecureRandom random)
Protected Methods
abstract byte[] generateEncryptedBytes(AlgorithmIdentifier algorithm, byte[] derivedKey, GenericKey contentEncryptionKey)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.cms.RecipientInfoGenerator

Protected Constructors

protected PasswordRecipientInfoGenerator (ASN1ObjectIdentifier kekAlgorithm, char[] password)

protected PasswordRecipientInfoGenerator (ASN1ObjectIdentifier kekAlgorithm, char[] password, int keySize, int blockSize)

Public Methods

public RecipientInfo generate (GenericKey contentEncryptionKey)

Throws
CMSException

public PasswordRecipientInfoGenerator setPasswordConversionScheme (int schemeID)

public PasswordRecipientInfoGenerator setSaltAndIterationCount (byte[] salt, int iterationCount)

public PasswordRecipientInfoGenerator setSecureRandom (SecureRandom random)

Protected Methods

protected abstract byte[] generateEncryptedBytes (AlgorithmIdentifier algorithm, byte[] derivedKey, GenericKey contentEncryptionKey)

Throws
CMSException