X509Certificate StoreImport(Stream, String) Method
Imports certificates and private keys from the specified stream.
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 Import(
Stream stream,
string password
)Parameters
Remarks
Imports certificates and private keys from the specified pkcs12 stream.
Exceptions
| ArgumentNullException |
stream is . -or- password is . |
| IOException | An error occurred reading the stream. |