Click or drag to resize
MimeKit

X509CertificateDatabase(DbConnection, String) Constructor

Initialize a new instance of the X509CertificateDatabase class.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected X509CertificateDatabase(
	DbConnection connection,
	string password
)

Parameters

connection  DbConnection
The database connection.
password  String
The password used for encrypting and decrypting the private keys.
Exceptions
ExceptionCondition
ArgumentNullException

connection is null.

-or-

password is null.

Remarks
The password is used to encrypt and decrypt private keys in the database and cannot be null.
See Also