Top Fields Constructors Methods
org.bouncycastle.cms.bc

public Class BcPasswordRecipientInfoGenerator

extends PasswordRecipientInfoGenerator
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1ObjectIdentifier, .ASN1OctetString, org.bouncycastle.asn1.pkcs.PBKDF2Params, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.cms.CMSException, .PasswordRecipient, .PasswordRecipientInfoGenerator, org.bouncycastle.crypto.PBEParametersGenerator, .Wrapper, org.bouncycastle.crypto.generators.PKCS5S2ParametersGenerator, org.bouncycastle.crypto.params.KeyParameter, .ParametersWithIV, org.bouncycastle.operator.GenericKey

Field Summary

Inherited from org.bouncycastle.cms.PasswordRecipientInfoGenerator:
password

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected byte[]
public byte[]
generateEncryptedBytes(AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey)

Implements abstract org.bouncycastle.cms.PasswordRecipientInfoGenerator.generateEncryptedBytes.

Inherited from org.bouncycastle.cms.PasswordRecipientInfoGenerator:
generatesetPasswordConversionSchemesetPRFsetSaltAndIterationCountsetSecureRandom

Constructor Detail

BcPasswordRecipientInfoGeneratorback to summary
public BcPasswordRecipientInfoGenerator(ASN1ObjectIdentifier kekAlgorithm, char[] password)

Method Detail

calculateDerivedKeyback to summary
protected byte[] calculateDerivedKey(int schemeID, AlgorithmIdentifier derivationAlgorithm, int keySize) throws CMSException

Implements abstract org.bouncycastle.cms.PasswordRecipientInfoGenerator.calculateDerivedKey.

generateEncryptedBytesback to summary
public byte[] generateEncryptedBytes(AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey) throws CMSException

Implements abstract org.bouncycastle.cms.PasswordRecipientInfoGenerator.generateEncryptedBytes.