Click or drag to resize
MimeKit

DefaultSecureMimeContext(IX509CertificateDatabase, SecureRandom) Constructor

Initialize a new instance of the DefaultSecureMimeContext class.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public DefaultSecureMimeContext(
	IX509CertificateDatabase database,
	SecureRandom random
)

Parameters

database  IX509CertificateDatabase
The certificate database.
random  SecureRandom
A secure pseudo-random number generator.
Exceptions
ExceptionCondition
ArgumentNullException

database is null.

-or-

random is null.

Remarks
This constructor is useful for supplying a custom IX509CertificateDatabase.
See Also