Top Fields Constructors Methods
org.bouncycastle.cms.jcajce

public Class JcePasswordRecipientInfoGenerator

extends PasswordRecipientInfoGenerator
Class Inheritance
Imports
java.security.GeneralSecurityException, .Key, .Provider, javax.crypto.Cipher, javax.crypto.spec.IvParameterSpec, .SecretKeySpec, org.bouncycastle.asn1.ASN1ObjectIdentifier, .ASN1OctetString, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.cms.CMSException, .PasswordRecipientInfoGenerator, org.bouncycastle.operator.GenericKey

Field Summary

Modifier and TypeField and Description
private EnvelopedDataHelper
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.

public JcePasswordRecipientInfoGenerator
public JcePasswordRecipientInfoGenerator
setProvider(String providerName)

Inherited from org.bouncycastle.cms.PasswordRecipientInfoGenerator:
generatesetPasswordConversionSchemesetPRFsetSaltAndIterationCountsetSecureRandom

Field Detail

helperback to summary
private EnvelopedDataHelper helper

Constructor Detail

JcePasswordRecipientInfoGeneratorback to summary
public JcePasswordRecipientInfoGenerator(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.

setProviderback to summary
public JcePasswordRecipientInfoGenerator setProvider(Provider provider)
setProviderback to summary
public JcePasswordRecipientInfoGenerator setProvider(String providerName)