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;
 }
Example #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();
 }
Example #8
0
 internal PeerSecuritySettings(PeerSecuritySettings other)
 {
     this.mode = other.mode;
     this.transportSecurity = new PeerTransportSecuritySettings(other.transportSecurity);
 }
Example #9
0
 internal PeerSecuritySettings(PeerSecurityElement element)
 {
     this.mode = element.Mode;
     this.transportSecurity = new PeerTransportSecuritySettings(element.Transport);
 }
Example #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();
 }
Example #13
0
 internal PeerTransportSecuritySettings(PeerTransportSecuritySettings other)
 {
     this.credentialType = other.credentialType;
 }
 public PeerSecuritySettings()
 {
     this.mode = SecurityMode.Transport;
     this.transportSecurity = new PeerTransportSecuritySettings();
 }
Example #15
0
		public PeerSecuritySettings ()
		{
			Transport = new PeerTransportSecuritySettings ();
		}