using System; using System.Collections.Generic; using System.Text; using System.Security.Cryptography.X509Certificates; namespace SuperSocket.SocketBase.Config { /// /// Certificate configuration interface /// public interface ICertificateConfig { /// /// Gets the file path. /// string FilePath { get; } /// /// Gets the password. /// string Password { get; } /// /// Gets the the store where certificate locates. /// /// /// The name of the store. /// string StoreName { get; } /// /// Gets the thumbprint. /// string Thumbprint { get; } /// /// Gets the store location of the certificate. /// /// /// The store location. /// StoreLocation StoreLocation { get; } /// /// Gets a value indicating whether [client certificate required]. /// /// /// true if [client certificate required]; otherwise, false. /// bool ClientCertificateRequired { get; } /// /// Gets a value that will be used to instantiate the X509Certificate2 object in the CertificateManager /// X509KeyStorageFlags KeyStorageFlags { get; } } }