Example #1
0
 ///<summary>Sets the value of the <c>&lt;SIF_SecureChannel&gt;</c> element.</summary>
 /// <param name="SifAuthenticationLevel">The minimum level of authentication required by the message originator to be considered a secure channel upon message delivery to other agents.</param>
 /// <param name="SifEncryptionLevel">The minimum level of encryption required by the message originator to be considered a secure channel upon message delivery to other agents.</param>
 ///<remarks>
 /// <para>This form of <c>setSIF_SecureChannel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>SIF_SecureChannel</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetSIF_SecureChannel(AuthenticationLevel SifAuthenticationLevel, EncryptionLevel SifEncryptionLevel)
 {
     RemoveChild(InfraDTD.SIF_SECURITY_SIF_SECURECHANNEL);
     AddChild(InfraDTD.SIF_SECURITY_SIF_SECURECHANNEL, new SIF_SecureChannel(SifAuthenticationLevel, SifEncryptionLevel));
 }
Example #2
0
 ///<summary>Sets the value of the <c>&lt;SIF_SecureChannel&gt;</c> element.</summary>
 /// <param name="SifAuthenticationLevel">The minimum level of authentication required by the message originator to be considered a secure channel upon message delivery to other agents.</param>
 /// <param name="SifEncryptionLevel">The minimum level of encryption required by the message originator to be considered a secure channel upon message delivery to other agents.</param>
 ///<remarks>
 /// <para>This form of <c>setSIF_SecureChannel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>SIF_SecureChannel</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetSIF_SecureChannel( AuthenticationLevel SifAuthenticationLevel, EncryptionLevel SifEncryptionLevel )
 {
     RemoveChild( InfraDTD.SIF_SECURITY_SIF_SECURECHANNEL);
     AddChild( InfraDTD.SIF_SECURITY_SIF_SECURECHANNEL, new SIF_SecureChannel( SifAuthenticationLevel, SifEncryptionLevel ) );
 }
Example #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;SIF_AuthenticationLevel&gt;</c> element.
 /// </summary>
 /// <param name="val">A AuthenticationLevel object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "This is the level of authentication that the SIF node supports when it wants to communicate via a secure channel."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetSIF_AuthenticationLevel( AuthenticationLevel val )
 {
     SetField( InfraDTD.SIF_SIFNODE_SIF_AUTHENTICATIONLEVEL, val );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;SIF_AuthenticationLevel&gt;</c> element.
 /// </summary>
 /// <param name="val">A AuthenticationLevel object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The minimum level of authentication required by the message originator to be considered a secure channel upon message delivery to other agents."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetSIF_AuthenticationLevel(AuthenticationLevel val)
 {
     SetField(InfraDTD.SIF_SECURECHANNEL_SIF_AUTHENTICATIONLEVEL, val);
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="sifAuthenticationLevel">The minimum level of authentication required by the message originator to be considered a secure channel upon message delivery to other agents.</param>
 ///<param name="sifEncryptionLevel">The minimum level of encryption required by the message originator to be considered a secure channel upon message delivery to other agents.</param>
 ///
 public SIF_SecureChannel(AuthenticationLevel sifAuthenticationLevel, EncryptionLevel sifEncryptionLevel) : base(InfraDTD.SIF_SECURECHANNEL)
 {
     this.SetSIF_AuthenticationLevel(sifAuthenticationLevel);
     this.SetSIF_EncryptionLevel(sifEncryptionLevel);
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="sifAuthenticationLevel">The minimum level of authentication required by the message originator to be considered a secure channel upon message delivery to other agents.</param>
 ///<param name="sifEncryptionLevel">The minimum level of encryption required by the message originator to be considered a secure channel upon message delivery to other agents.</param>
 ///
 public SIF_SecureChannel( AuthenticationLevel sifAuthenticationLevel, EncryptionLevel sifEncryptionLevel )
     : base(InfraDTD.SIF_SECURECHANNEL)
 {
     this.SetSIF_AuthenticationLevel( sifAuthenticationLevel );
     this.SetSIF_EncryptionLevel( sifEncryptionLevel );
 }