예제 #1
0
 /// <summary>
 /// Creates a DirectAgent instance using local certificate stores and the standard trust and cryptography models.
 /// </summary>
 /// <param name="domain">
 /// The local domain name managed by this agent.
 /// </param>
 public DirectAgent(string domain)
     : this(new StaticDomainResolver(domain), SystemX509Store.OpenPrivate().CreateResolver(),
            SystemX509Store.OpenExternal().CreateResolver(),
            TrustAnchorResolver.CreateDefault())
 {
 }