public interface PasswordRecipient extends Recipient
Modifier and Type | Interface and Description |
---|---|
static class |
PasswordRecipient.PRF |
Modifier and Type | Field and Description |
---|---|
static int |
PKCS5_SCHEME2 |
static int |
PKCS5_SCHEME2_UTF8 |
Modifier and Type | Method and Description |
---|---|
byte[] |
calculateDerivedKey(int schemeID,
org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm,
int keySize) |
char[] |
getPassword() |
int |
getPasswordConversionScheme() |
RecipientOperator |
getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] derivedKey,
byte[] encryptedEncryptedContentKey) |
static final int PKCS5_SCHEME2
static final int PKCS5_SCHEME2_UTF8
byte[] calculateDerivedKey(int schemeID, org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm, int keySize) throws CMSException
CMSException
RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedEncryptedContentKey) throws CMSException
CMSException
int getPasswordConversionScheme()
char[] getPassword()