Click or drag to resize
MimeKit

ApplicationPkcs7Signature(Stream) Constructor

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: 4.3.0
Syntax
C#
public ApplicationPkcs7Signature(
	Stream stream
)

Parameters

stream  Stream
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