Click or drag to resize
MimeKit

X509CertificateStoreImport(Byte, String) Method

Imports certificates and private keys from the specified byte array.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public void Import(
	byte[] rawData,
	string password
)

Parameters

rawData  Byte
The raw certificate data.
password  String
The password to unlock the raw data.
Exceptions
ExceptionCondition
ArgumentNullException

rawData is null.

-or-

password is null.

Remarks

Imports certificates and private keys from the specified pkcs12 stream.

See Also