Package org.bouncycastle.cms
Interface PasswordRecipient
- 
- All Superinterfaces:
 Recipient
- All Known Implementing Classes:
 BcPasswordEnvelopedRecipient,BcPasswordRecipient,JcePasswordAuthenticatedRecipient,JcePasswordEnvelopedRecipient,JcePasswordRecipient
public interface PasswordRecipient extends Recipient
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPasswordRecipient.PRF 
- 
Field Summary
Fields Modifier and Type Field Description static intPKCS5_SCHEME2static intPKCS5_SCHEME2_UTF8 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]calculateDerivedKey(int schemeID, org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm, int keySize)char[]getPassword()intgetPasswordConversionScheme()RecipientOperatorgetRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedEncryptedContentKey) 
 - 
 
- 
- 
Field Detail
- 
PKCS5_SCHEME2
static final int PKCS5_SCHEME2
- See Also:
 - Constant Field Values
 
 
- 
PKCS5_SCHEME2_UTF8
static final int PKCS5_SCHEME2_UTF8
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
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()
 
 - 
 
 -