Sqlite Certificate Database(Db Connection, String, SecureRandom) Constructor
Initialize a new instance of the SqliteCertificateDatabase class.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
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.
Remarks
Creates a new SqliteCertificateDatabase using the provided SQLite database connection.
Exceptions
| ArgumentNullException |
connection is . -or- password is . -or- random is . |