C# Class Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator

Inheritance: CmsEnvelopedGenerator
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Private Properties

Свойство Type Description
Open Stream
Open Stream

Méthodes publiques

Méthode Description
CmsEnvelopedDataStreamGenerator ( ) : System
CmsEnvelopedDataStreamGenerator ( SecureRandom rand ) : System

Constructor allowing specific source of randomness

Open ( Stream outStream, string encryptionOid ) : Stream
Open ( Stream outStream, string encryptionOid, int keySize ) : Stream
SetBerEncodeRecipients ( bool berEncodeRecipientSet ) : void

Use a BER Set to store the recipient information.

SetBufferSize ( int bufferSize ) : void

Set the underlying string size for encapsulated data.

Private Methods

Méthode Description
Open ( Stream outStream, AlgorithmIdentifier encAlgID, ICipherParameters cipherParameters, Asn1EncodableVector recipientInfos ) : Stream
Open ( Stream outStream, string encryptionOid, CipherKeyGenerator keyGen ) : Stream

Generate an enveloped object that contains an CMS Enveloped Data object using the passed in key generator.

Method Details

CmsEnvelopedDataStreamGenerator() public méthode

public CmsEnvelopedDataStreamGenerator ( ) : System
Résultat System

CmsEnvelopedDataStreamGenerator() public méthode

Constructor allowing specific source of randomness
public CmsEnvelopedDataStreamGenerator ( SecureRandom rand ) : System
rand Org.BouncyCastle.Security.SecureRandom Instance of SecureRandom to use.
Résultat System

Open() public méthode

public Open ( Stream outStream, string encryptionOid ) : Stream
outStream Stream
encryptionOid string
Résultat Stream

Open() public méthode

public Open ( Stream outStream, string encryptionOid, int keySize ) : Stream
outStream Stream
encryptionOid string
keySize int
Résultat Stream

SetBerEncodeRecipients() public méthode

Use a BER Set to store the recipient information.
public SetBerEncodeRecipients ( bool berEncodeRecipientSet ) : void
berEncodeRecipientSet bool
Résultat void

SetBufferSize() public méthode

Set the underlying string size for encapsulated data.
public SetBufferSize ( int bufferSize ) : void
bufferSize int Length of octet strings to buffer the data.
Résultat void