SqliteCertificateDatabase(DbConnection, String) Constructor

Initialize a new instance of the SqliteCertificateDatabase class.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public SqliteCertificateDatabase(
	DbConnection connection,
	string password
)

Parameters

connection  DbConnection
The SQLite connection.
password  String
The password used for encrypting and decrypting the private keys.

Remarks

Creates a new SqliteCertificateDatabase using the provided SQLite database connection.

Exceptions

ArgumentNullException

connection is .

-or-

password is .

See Also