Bouncy Castle Cryptography 1.46

org.bouncycastle.cms
Interface PasswordRecipient

All Superinterfaces:
Recipient
All Known Implementing Classes:
JcePasswordAuthenticatedRecipient, JcePasswordEnvelopedRecipient, JcePasswordRecipient

public interface PasswordRecipient
extends Recipient


Field Summary
static int PKCS5_SCHEME2
           
static int PKCS5_SCHEME2_UTF8
           
 
Method Summary
 char[] getPassword()
           
 int getPasswordConversionScheme()
           
 RecipientOperator getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, 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

getRecipientOperator

RecipientOperator getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm,
                                       AlgorithmIdentifier contentEncryptionAlgorithm,
                                       byte[] derivedKey,
                                       byte[] encryptedEncryptedContentKey)
                                       throws CMSException
Throws:
CMSException

getPasswordConversionScheme

int getPasswordConversionScheme()

getPassword

char[] getPassword()

Bouncy Castle Cryptography 1.46