Click or drag to resize
MimeKit

ApplicationPkcs7Signature Constructor (Stream)

Initialize a new instance of the ApplicationPkcs7Signature class with a Content-Type of application/pkcs7-signature.

Namespace:  MimeKit.Cryptography
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
public ApplicationPkcs7Signature(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The content stream.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
ArgumentException

stream does not support reading.

-or-

stream does not support seeking.

Remarks
Creates a new MIME part with a Content-Type of application/pkcs7-signature and the stream as its content.
See Also