Sql Certificate Database(Db Connection, String, SecureRandom) Constructor
Initialize a new instance of the SqlCertificateDatabase 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#
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.
Remarks
Creates a new SqlCertificateDatabase using the provided database connection.
Exceptions
| ArgumentNullException |
connection is . -or- password is . -or- random is . |