Click or drag to resize
MimeKit

SQLServerCertificateDatabase(DbConnection, String, SecureRandom) Constructor

Initialize a new instance of the SQLServerCertificateDatabase class.

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

Parameters

connection  DbConnection
The SQL Server 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 SQLServerCertificateDatabase using the provided SQL Server database connection.
See Also