/// <summary> /// Construct a CertificatesAuthority object /// </summary> /// <param name="name">Name of the certification authority.</param> /// <param name="store">Where to store the certificates</param> public CertificatesAuthority(string name, MSX509.StoreLocation store) { authorityName_ = name != null ? X509NameFromString(name) : null; store_ = store; }
/// <summary> /// Construct a CertificatesAuthority object with a default name and in the store of the current user /// </summary> /// <param name="name">Name of the certification authority.</param> public CertificatesAuthority(string name) { authorityName_ = name != null ? X509NameFromString(name) : null; store_ = MSX509.StoreLocation.CurrentUser; }