public class BcPasswordRecipientInfoGenerator extends PasswordRecipientInfoGenerator
password| Constructor and Description |
|---|
BcPasswordRecipientInfoGenerator(ASN1ObjectIdentifier kekAlgorithm,
char[] password) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
calculateDerivedKey(int schemeID,
AlgorithmIdentifier derivationAlgorithm,
int keySize) |
byte[] |
generateEncryptedBytes(AlgorithmIdentifier keyEncryptionAlgorithm,
byte[] derivedKey,
GenericKey contentEncryptionKey) |
generate, setPasswordConversionScheme, setPRF, setSaltAndIterationCount, setSecureRandompublic BcPasswordRecipientInfoGenerator(ASN1ObjectIdentifier kekAlgorithm, char[] password)
protected byte[] calculateDerivedKey(int schemeID,
AlgorithmIdentifier derivationAlgorithm,
int keySize)
throws CMSException
calculateDerivedKey in class PasswordRecipientInfoGeneratorCMSExceptionpublic byte[] generateEncryptedBytes(AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey) throws CMSException
generateEncryptedBytes in class PasswordRecipientInfoGeneratorCMSExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.