C# Class Org.BouncyCastle.Cms.CmsAuthenticatedDataStreamGenerator

Inheritance: CmsAuthenticatedGenerator
Show file Open project: nonorganic/dssnet

Public Methods

Method Description
CmsAuthenticatedDataStreamGenerator ( ) : System
CmsAuthenticatedDataStreamGenerator ( SecureRandom rand ) : System
Open ( Stream outStr, string encryptionOid ) : Stream
Open ( Stream outStr, string encryptionOid, int keySize ) : Stream
SetBerEncodeRecipients ( bool berEncodeRecipientSet ) : void
SetBufferSize ( int bufferSize ) : void

Protected Methods

Method Description
Open ( Stream outStr, AlgorithmIdentifier macAlgId, ICipherParameters cipherParameters, Asn1EncodableVector recipientInfos ) : Stream

Private Methods

Method Description
Open ( Stream outStr, string macOid, CipherKeyGenerator keyGen ) : Stream

Method Details

CmsAuthenticatedDataStreamGenerator() public method

public CmsAuthenticatedDataStreamGenerator ( ) : System
return System

CmsAuthenticatedDataStreamGenerator() public method

public CmsAuthenticatedDataStreamGenerator ( SecureRandom rand ) : System
rand Org.BouncyCastle.Security.SecureRandom
return System

Open() protected method

protected Open ( Stream outStr, AlgorithmIdentifier macAlgId, ICipherParameters cipherParameters, Asn1EncodableVector recipientInfos ) : Stream
outStr Stream
macAlgId Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
cipherParameters ICipherParameters
recipientInfos Org.BouncyCastle.Asn1.Asn1EncodableVector
return Stream

Open() public method

public Open ( Stream outStr, string encryptionOid ) : Stream
outStr Stream
encryptionOid string
return Stream

Open() public method

public Open ( Stream outStr, string encryptionOid, int keySize ) : Stream
outStr Stream
encryptionOid string
keySize int
return Stream

SetBerEncodeRecipients() public method

public SetBerEncodeRecipients ( bool berEncodeRecipientSet ) : void
berEncodeRecipientSet bool
return void

SetBufferSize() public method

public SetBufferSize ( int bufferSize ) : void
bufferSize int
return void