public abstract class BcPasswordRecipient extends Object implements PasswordRecipient
PasswordRecipient.PRFPKCS5_SCHEME2, PKCS5_SCHEME2_UTF8| Modifier and Type | Method and Description |
|---|---|
byte[] |
calculateDerivedKey(int schemeID,
AlgorithmIdentifier derivationAlgorithm,
int keySize) |
protected KeyParameter |
extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] derivedKey,
byte[] encryptedContentEncryptionKey) |
char[] |
getPassword() |
int |
getPasswordConversionScheme() |
BcPasswordRecipient |
setPasswordConversionScheme(int schemeID) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecipientOperatorpublic BcPasswordRecipient setPasswordConversionScheme(int schemeID)
protected KeyParameter extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedContentEncryptionKey) throws CMSException
CMSExceptionpublic byte[] calculateDerivedKey(int schemeID,
AlgorithmIdentifier derivationAlgorithm,
int keySize)
throws CMSException
calculateDerivedKey in interface PasswordRecipientCMSExceptionpublic int getPasswordConversionScheme()
getPasswordConversionScheme in interface PasswordRecipientpublic char[] getPassword()
getPassword in interface PasswordRecipientCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.