public interface

PasswordRecipient

implements Recipient
org.bouncycastle.cms.PasswordRecipient
Known Indirect Subclasses

Summary

Constants
int PKCS5_SCHEME2
int PKCS5_SCHEME2_UTF8
Public Methods
abstract char[] getPassword()
abstract int getPasswordConversionScheme()
abstract RecipientOperator getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedEncryptedContentKey)

Constants

public static final int PKCS5_SCHEME2

Constant Value: 0 (0x00000000)

public static final int PKCS5_SCHEME2_UTF8

Constant Value: 1 (0x00000001)

Public Methods

public abstract char[] getPassword ()

public abstract int getPasswordConversionScheme ()

public abstract RecipientOperator getRecipientOperator (AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedEncryptedContentKey)

Throws
CMSException