internal void InitializeFrom(PeerTransportSecuritySettings security)
 {
     if (security == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security");
     }
     SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PeerTransportCredentialType, security.CredentialType);
 }
 internal void InitializeFrom(PeerTransportSecuritySettings security)
 {
     if (security == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security");
     }
     this.CredentialType = security.CredentialType;
 }
 internal void ApplyConfiguration(PeerTransportSecuritySettings security)
 {
     if (security == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security");
     }
     security.CredentialType = this.CredentialType;
 }
Esempio n. 4
0
 public PeerSecuritySettings()
 {
     Transport = new PeerTransportSecuritySettings();
 }
 internal PeerSecuritySettings(PeerSecurityElement element)
 {
     mode = element.Mode;
     transportSecurity = new PeerTransportSecuritySettings(element.Transport);
 }
 internal PeerSecuritySettings(PeerSecuritySettings other)
 {
     this.mode = other.mode;
     this.transportSecurity = new PeerTransportSecuritySettings(other.transportSecurity);
 }
 public PeerSecuritySettings()
 {
     mode = DefaultMode;
     transportSecurity = new PeerTransportSecuritySettings();
 }
Esempio n. 8
0
 internal PeerSecuritySettings(PeerSecuritySettings other)
 {
     this.mode = other.mode;
     this.transportSecurity = new PeerTransportSecuritySettings(other.transportSecurity);
 }
Esempio n. 9
0
 internal PeerSecuritySettings(PeerSecurityElement element)
 {
     this.mode = element.Mode;
     this.transportSecurity = new PeerTransportSecuritySettings(element.Transport);
 }
Esempio n. 10
0
 public PeerSecuritySettings()
 {
     this.mode = SecurityMode.Transport;
     this.transportSecurity = new PeerTransportSecuritySettings();
 }
 internal PeerTransportSecuritySettings(PeerTransportSecuritySettings other)
 {
     this.credentialType = other.credentialType;
 }
 public PeerSecuritySettings()
 {
     mode = DefaultMode;
     transportSecurity = new PeerTransportSecuritySettings();
 }
Esempio n. 13
0
 internal PeerTransportSecuritySettings(PeerTransportSecuritySettings other)
 {
     this.credentialType = other.credentialType;
 }
 public PeerSecuritySettings()
 {
     this.mode = SecurityMode.Transport;
     this.transportSecurity = new PeerTransportSecuritySettings();
 }
Esempio n. 15
0
		public PeerSecuritySettings ()
		{
			Transport = new PeerTransportSecuritySettings ();
		}