X509Certificate StoreExport(Stream, String) Method
Exports the specified stream and password to a pkcs12 encrypted file.
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 void Export(
Stream stream,
string password
)Parameters
Remarks
Exports the specified stream and password to a pkcs12 encrypted file.
Exceptions
| ArgumentNullException |
stream is . -or- password is . |
| IOException | An error occurred while writing to the stream. |