CertificateStore Constructor
Creates a new certificate store in memory.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public CertificateStore()
Remarks
This overload is typically used for creating a store which can then be filled with one or more certificates and either saved to a file or passed to a method which accepts CertificateStore as a parameter. The latter case is useful when you need to notify a method about a store with some certificates in it but you do not already have such a store. For instance, you can call Validate(CertificateStore) method with extraStore parameter pointing to a store containing certificates of all certification authorities needed for validation. However, it's possible that some of these certificates reside in another store. Since you cannot pass two stores to Validate(CertificateStore) method, you should either create a persistent store containing all the certificates from the both stores, or combine them at runtime by creating a new memory store and then adding certificates from both stores to the memory one. The latter approach does not require permissions to create files or new registry entries (which would be needed for modifying persistent certificate stores which reside in files or Windows registry).
See Also