public abstract class BcPasswordRecipient extends java.lang.Object implements PasswordRecipient
PKCS5_SCHEME2, PKCS5_SCHEME2_UTF8| Modifier and Type | Method and Description |
|---|---|
byte[] |
calculateDerivedKey(byte[] encodedPassword,
org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm,
int keySize) |
protected org.bouncycastle.crypto.params.KeyParameter |
extractSecretKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
org.bouncycastle.asn1.x509.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 org.bouncycastle.crypto.params.KeyParameter extractSecretKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] derivedKey,
byte[] encryptedContentEncryptionKey)
throws CMSException
CMSExceptionpublic byte[] calculateDerivedKey(byte[] encodedPassword,
org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm,
int keySize)
throws CMSException
calculateDerivedKey in interface PasswordRecipientCMSExceptionpublic int getPasswordConversionScheme()
getPasswordConversionScheme in interface PasswordRecipientpublic char[] getPassword()
getPassword in interface PasswordRecipient