Application Pkcs 7Signature(Stream) Constructor
Initialize a new instance of the ApplicationPkcs7Signature
class with a Content-Type of application/pkcs7-signature.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public ApplicationPkcs7Signature(
Stream stream
)Parameters
- stream Stream
- The content stream.
Remarks
Creates a new MIME part with a Content-Type of application/pkcs7-signature
and the stream as its content.
Exceptions
| ArgumentNullException | stream is . |
| ArgumentException |
stream does not support reading. -or- stream does not support seeking. |