X509CertificateDatabase(DbConnection, String) Constructor

Initialize a new instance of the X509CertificateDatabase class.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
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.

Remarks

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

Exceptions

ArgumentNullException

connection is .

-or-

password is .

See Also