Click or drag to resize
MimeKit

X509CertificateStoreImport(Stream, String) Method

Imports certificates and private keys from the specified stream.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public void Import(
	Stream stream,
	string password
)

Parameters

stream  Stream
The stream to import.
password  String
The password to unlock the stream.
Exceptions
ExceptionCondition
ArgumentNullException

stream is null.

-or-

password is null.

IOException An error occurred reading the stream.
Remarks

Imports certificates and private keys from the specified pkcs12 stream.

See Also