X509CertificateStoreImport(Byte, String) Method

Imports certificates and private keys from the specified byte array.

Definition

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

Parameters

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

Remarks

Imports certificates and private keys from the specified pkcs12 stream.

Exceptions

ArgumentNullException

rawData is .

-or-

password is .

See Also