예제 #1
0
        public ConfigStore(string connectString, TimeSpan timeout)
        {
            if (string.IsNullOrEmpty(connectString))
            {
                throw new ArgumentException("connectString");
            }
            if (timeout.Ticks <= 0)
            {
                throw new ArgumentException("timeout");
            }

            m_timeout = timeout;
            m_connectString = connectString;
            m_domains = new DomainManager(this);
            m_addresses = new AddressManager(this);
            m_certificates = new CertificateManager(this);
            m_anchors = new AnchorManager(this);
            m_dnsRecords = new DnsRecordManager(this);
            m_administrators = new AdministratorManager(this);
            m_properties = new PropertyManager(this);
            m_blobs = new NamedBlobManager(this);
            m_Mdns = new MdnManager(this);
            m_bundles = new BundleManager(this);
            m_certPolicies = new CertPolicyManager(this, new CertPolicyParseValidator());
            m_certPolicyGroups = new CertPolicyGroupManager(this);
        }
예제 #2
0
 public AnchorResolver(AnchorManager anchorManager)
 {
     if (anchorManager == null)
     {
         throw new ArgumentNullException("anchorManager");
     }
     
     m_anchorManager = anchorManager;
     m_incomingResolver = new AnchorCertResolver(anchorManager, true);
     m_outgoingResolver = new AnchorCertResolver(anchorManager, false);
 }
예제 #3
0
        public AnchorResolver(AnchorManager anchorManager)
        {
            if (anchorManager == null)
            {
                throw new ArgumentNullException("anchorManager");
            }

            m_anchorManager    = anchorManager;
            m_incomingResolver = new AnchorCertResolver(anchorManager, true);
            m_outgoingResolver = new AnchorCertResolver(anchorManager, false);
        }
예제 #4
0
        public ConfigStore(string connectString, TimeSpan timeout)
        {
            if (string.IsNullOrEmpty(connectString))
            {
                throw new ArgumentException("connectString");
            }
            if (timeout.Ticks <= 0)
            {
                throw new ArgumentException("timeout");
            }

            m_timeout        = timeout;
            m_connectString  = connectString;
            m_domains        = new DomainManager(this);
            m_addresses      = new AddressManager(this);
            m_certificates   = new CertificateManager(this);
            m_anchors        = new AnchorManager(this);
            m_dnsRecords     = new DnsRecordManager(this);
            m_administrators = new AdministratorManager(this);
            m_properties     = new PropertyManager(this);
            m_blobs          = new NamedBlobManager(this);
            m_Mdns           = new MdnManager(this);
            m_bundles        = new BundleManager(this);
        }
예제 #5
0
 internal AnchorCertResolver(AnchorManager manager, bool incoming)
 {
     m_anchorManager = manager;
     m_incoming = incoming;
 }
예제 #6
0
 internal AnchorCertResolver(AnchorManager manager, bool incoming)
 {
     m_anchorManager = manager;
     m_incoming      = incoming;
 }