Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cms
Interface PasswordRecipient

All Superinterfaces:
Recipient
All Known Implementing Classes:
BcPasswordRecipient, JcePasswordRecipient

public interface PasswordRecipient
extends Recipient


Inner Class Summary
static class PasswordRecipient.PRF
           
 
Field Summary
static int PKCS5_SCHEME2
           
static int PKCS5_SCHEME2_UTF8
           
 
Method Summary
 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)
           
 

Field Detail

PKCS5_SCHEME2

public static final int PKCS5_SCHEME2

PKCS5_SCHEME2_UTF8

public static final int PKCS5_SCHEME2_UTF8
Method Detail

calculateDerivedKey

public byte[] calculateDerivedKey(int schemeID,
                                  org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm,
                                  int keySize)
                           throws CMSException

getRecipientOperator

public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
                                              org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
                                              byte[] derivedKey,
                                              byte[] encryptedEncryptedContentKey)
                                       throws CMSException

getPasswordConversionScheme

public int getPasswordConversionScheme()

getPassword

public char[] getPassword()

Bouncy Castle Cryptography Library 1.79