RecipientInfoGenerator
public class BcPasswordRecipientInfoGenerator extends PasswordRecipientInfoGenerator
password
Constructor | Description |
---|---|
BcPasswordRecipientInfoGenerator(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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generate, setPasswordConversionScheme, setPRF, setSaltAndIterationCount, setSecureRandom
public BcPasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm, char[] password)
protected byte[] calculateDerivedKey(int schemeID, org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm, int keySize) throws CMSException
calculateDerivedKey
in class PasswordRecipientInfoGenerator
CMSException
public byte[] generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey) throws CMSException
generateEncryptedBytes
in class PasswordRecipientInfoGenerator
CMSException