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