コード例 #1
0
 /// <summary>
 /// Loads certificates from a LocalMachine Certificate store named "NHINAnchors"
 /// </summary>
 public static TrustAnchorResolver CreateDefault()
 {
     using (SystemX509Store store = SystemX509Store.OpenAnchor())
     {
         UniformCertificateResolver anchors = new UniformCertificateResolver(store.GetAllCertificates());
         return(new TrustAnchorResolver(anchors));
     }
 }
コード例 #2
0
ファイル: TrustAnchorResolver.cs プロジェクト: DM-TOR/nhin-d
 /// <summary>
 /// Loads certificates from a LocalMachine Certificate store named "NHINAnchors"
 /// </summary>
 public static TrustAnchorResolver CreateDefault()
 {
     using (SystemX509Store store = SystemX509Store.OpenAnchor())
     {
         UniformCertificateResolver anchors = new UniformCertificateResolver(store.GetAllCertificates());
         return new TrustAnchorResolver(anchors);
     }
 }
コード例 #3
0
ファイル: ResolverTests.cs プロジェクト: DM-TOR/nhin-d
 public UniformResolverTests()
 {
     m_resolver = new UniformCertificateResolver(TestCertificates.ChainCertsStore);
 }