Package org.bouncycastle.cms
Interface PasswordRecipient
- All Superinterfaces:
Recipient
- All Known Implementing Classes:
BcPasswordEnvelopedRecipient
,BcPasswordRecipient
,JcePasswordAuthenticatedRecipient
,JcePasswordEnvelopedRecipient
,JcePasswordRecipient
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
calculateDerivedKey
(int schemeID, org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm, int keySize) char[]
int
getRecipientOperator
(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedEncryptedContentKey)
-
Field Details
-
PKCS5_SCHEME2
static final int PKCS5_SCHEME2- See Also:
-
PKCS5_SCHEME2_UTF8
static final int PKCS5_SCHEME2_UTF8- See Also:
-
-
Method Details
-
calculateDerivedKey
byte[] calculateDerivedKey(int schemeID, org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm, int keySize) throws CMSException - Throws:
CMSException
-
getRecipientOperator
RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedEncryptedContentKey) throws CMSException - Throws:
CMSException
-
getPasswordConversionScheme
int getPasswordConversionScheme() -
getPassword
char[] getPassword()
-