public interface PasswordRecipient extends Recipient
| Modifier and Type | Field and Description |
|---|---|
static int |
PKCS5_SCHEME2 |
static int |
PKCS5_SCHEME2_UTF8 |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
calculateDerivedKey(byte[] encodedPassword,
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(byte[] encodedPassword,
org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm,
int keySize)
throws CMSException
CMSExceptionRecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedEncryptedContentKey) throws CMSException
CMSExceptionint getPasswordConversionScheme()
char[] getPassword()