/// <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)); } }
/// <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); } }
public UniformResolverTests() { m_resolver = new UniformCertificateResolver(TestCertificates.ChainCertsStore); }