Click or drag to resize
MimeKit

SqlCertificateDatabase(DbConnection, String, SecureRandom) Constructor

Initialize a new instance of the SqlCertificateDatabase class.

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

Parameters

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

connection is null.

-or-

password is null.

-or-

random is null.

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