Package org.bouncycastle.cms.jcajce
Class JcePasswordRecipientInfoGenerator
- java.lang.Object
 - 
- org.bouncycastle.cms.PasswordRecipientInfoGenerator
 - 
- org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator
 
 
 
- 
- All Implemented Interfaces:
 RecipientInfoGenerator
public class JcePasswordRecipientInfoGenerator extends PasswordRecipientInfoGenerator
 
- 
- 
Field Summary
- 
Fields inherited from class org.bouncycastle.cms.PasswordRecipientInfoGenerator
password 
 - 
 
- 
Constructor Summary
Constructors Constructor Description JcePasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm, char[] password) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]calculateDerivedKey(int schemeID, org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm, int keySize)byte[]generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey)JcePasswordRecipientInfoGeneratorsetProvider(java.lang.String providerName)JcePasswordRecipientInfoGeneratorsetProvider(java.security.Provider provider)- 
Methods inherited from class org.bouncycastle.cms.PasswordRecipientInfoGenerator
generate, setPasswordConversionScheme, setPRF, setSaltAndIterationCount, setSecureRandom 
 - 
 
 - 
 
- 
- 
Method Detail
- 
setProvider
public JcePasswordRecipientInfoGenerator setProvider(java.security.Provider provider)
 
- 
setProvider
public JcePasswordRecipientInfoGenerator setProvider(java.lang.String providerName)
 
- 
calculateDerivedKey
protected byte[] calculateDerivedKey(int schemeID, org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm, int keySize) throws CMSException- Specified by:
 calculateDerivedKeyin classPasswordRecipientInfoGenerator- Throws:
 CMSException
 
- 
generateEncryptedBytes
public byte[] generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey) throws CMSException- Specified by:
 generateEncryptedBytesin classPasswordRecipientInfoGenerator- Throws:
 CMSException
 
 - 
 
 -