Click or drag to resize
MimeKit

SqliteCertificateDatabase(DbConnection, String, SecureRandom) Constructor

Initialize a new instance of the SqliteCertificateDatabase class.

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

Parameters

connection  DbConnection
The SQLite connection.
password  String
The password used for encrypting and decrypting the private keys.
random  SecureRandom
The secure pseudo-random number generator.
Exceptions
ExceptionCondition
ArgumentNullException

connection is null.

-or-

password is null.

-or-

random is null.

Remarks
Creates a new SqliteCertificateDatabase using the provided SQLite database connection.
See Also