public class JcePasswordRecipientInfoGenerator extends PasswordRecipientInfoGenerator
Constructor and Description |
---|
JcePasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm,
char[] password) |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
byte[] derivedKey,
GenericKey contentEncryptionKey) |
JcePasswordRecipientInfoGenerator |
setProvider(Provider provider) |
JcePasswordRecipientInfoGenerator |
setProvider(String providerName) |
generate, setPasswordConversionScheme, setSaltAndIterationCount, setSecureRandom
public JcePasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm, char[] password)
public JcePasswordRecipientInfoGenerator setProvider(Provider provider)
public JcePasswordRecipientInfoGenerator setProvider(String providerName)
public byte[] generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey) throws CMSException
generateEncryptedBytes
in class PasswordRecipientInfoGenerator
CMSException