RecipientInfoGeneratorpublic class JcePasswordRecipientInfoGenerator extends PasswordRecipientInfoGenerator
password| Constructor | Description |
|---|---|
JcePasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm,
char[] password) |
| 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) |
|
JcePasswordRecipientInfoGenerator |
setProvider(java.lang.String providerName) |
|
JcePasswordRecipientInfoGenerator |
setProvider(java.security.Provider provider) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerate, setPasswordConversionScheme, setPRF, setSaltAndIterationCount, setSecureRandompublic JcePasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm,
char[] password)
public JcePasswordRecipientInfoGenerator setProvider(java.security.Provider provider)
public JcePasswordRecipientInfoGenerator setProvider(java.lang.String providerName)
protected byte[] calculateDerivedKey(int schemeID,
org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm,
int keySize)
throws CMSException
calculateDerivedKey in class PasswordRecipientInfoGeneratorCMSExceptionpublic byte[] generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
byte[] derivedKey,
GenericKey contentEncryptionKey)
throws CMSException
generateEncryptedBytes in class PasswordRecipientInfoGeneratorCMSException