Represnts an Ldap String.
Inheritance: Novell.Directory.Ldap.Asn1.Asn1OctetString
 /// <summary> </summary>
 public RfcSaslCredentials(RfcLdapString mechanism, Asn1OctetString credentials)
     : base(2)
 {
     add(mechanism);
     if (credentials != null)
         add(credentials);
 }
示例#2
0
 /// <summary> </summary>
 public RfcSaslCredentials(RfcLdapString mechanism, Asn1OctetString credentials) : base(2)
 {
     add(mechanism);
     if (credentials != null)
     {
         add(credentials);
     }
 }
 /// <summary> Constructs an RfcLdapResult from parameters
 ///
 /// </summary>
 /// <param name="resultCode">the result code of the operation
 ///
 /// </param>
 /// <param name="matchedDN">the matched DN returned from the server
 ///
 /// </param>
 /// <param name="errorMessage">the diagnostic message returned from the server
 ///
 /// </param>
 /// <param name="referral">the referral(s) returned by the server
 /// </param>
 public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral) : base(4)
 {
     add(resultCode);
     add(matchedDN);
     add(errorMessage);
     if (referral != null)
     {
         add(referral);
     }
     return;
 }
示例#4
0
 /// <summary>
 ///     Constructs an RfcLdapResult from parameters.
 /// </summary>
 /// <param name="resultCode">
 ///     the result code of the operation.
 /// </param>
 /// <param name="matchedDn">
 ///     the matched DN returned from the server.
 /// </param>
 /// <param name="errorMessage">
 ///     the diagnostic message returned from the server.
 /// </param>
 /// <param name="referral">
 ///     the referral(s) returned by the server.
 /// </param>
 public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDn matchedDn, RfcLdapString errorMessage,
                      RfcReferral referral)
     : base(4)
 {
     Add(resultCode);
     Add(matchedDn);
     Add(errorMessage);
     if (referral != null)
     {
         Add(referral);
     }
 }
        //*************************************************************************
        // Constructors for RfcLdapResult
        //*************************************************************************

        /// <summary> Constructs an RfcLdapResult from parameters
        ///
        /// </summary>
        /// <param name="resultCode">the result code of the operation
        ///
        /// </param>
        /// <param name="matchedDN">the matched DN returned from the server
        ///
        /// </param>
        /// <param name="errorMessage">the diagnostic message returned from the server
        /// </param>
        public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage) : this(resultCode, matchedDN, errorMessage, null)
        {
            return;
        }
示例#6
0
		//*************************************************************************
		// Constructors for SaslCredentials
		//*************************************************************************
		
		/// <summary> </summary>
		public RfcSaslCredentials(RfcLdapString mechanism):this(mechanism, null)
		{
		}
示例#7
0
 /// <summary> Constructs an RfcAddResponse from parameters.
 ///
 /// </summary>
 /// <param name="resultCode">the result code of the operation
 ///
 /// </param>
 /// <param name="matchedDN">the matched DN returned from the server
 ///
 /// </param>
 /// <param name="errorMessage">the diagnostic message returned from the server
 ///
 /// </param>
 /// <param name="referral">the referral(s) returned by the server
 /// </param>
 public RfcAddResponse(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral) : base(resultCode, matchedDN, errorMessage, referral)
 {
     return;
 }
示例#8
0
        //*************************************************************************
        // Constructors for SaslCredentials
        //*************************************************************************

        /// <summary> </summary>
        public RfcSaslCredentials(RfcLdapString mechanism) : this(mechanism, null)
        {
        }
 /// <summary> Constructs an RfcCompareResponse from parameters.
 /// 
 /// </summary>
 /// <param name="resultCode">the result code of the operation
 /// 
 /// </param>
 /// <param name="matchedDN">the matched DN returned from the server
 /// 
 /// </param>
 /// <param name="errorMessage">the diagnostic message returned from the server
 /// 
 /// </param>
 /// <param name="referral">the referral(s) returned by the server
 /// </param>
 public RfcCompareResponse(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral)
     : base(resultCode, matchedDN, errorMessage, referral)
 {
     return ;
 }
示例#10
0
 /// <summary> Constructs an RfcSearchResultDone from parameters.
 ///
 /// </summary>
 /// <param name="resultCode">the result code of the operation
 ///
 /// </param>
 /// <param name="matchedDN">the matched DN returned from the server
 ///
 /// </param>
 /// <param name="errorMessage">the diagnostic message returned from the server
 ///
 /// </param>
 /// <param name="referral">the referral(s) returned by the server
 /// </param>
 public RfcSearchResultDone(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral)
     : base(resultCode, matchedDN, errorMessage, referral)
 {
 }
 /// <summary> Constructs an RfcSearchResultDone from parameters.
 /// 
 /// </summary>
 /// <param name="resultCode">the result code of the operation
 /// 
 /// </param>
 /// <param name="matchedDN">the matched DN returned from the server
 /// 
 /// </param>
 /// <param name="errorMessage">the diagnostic message returned from the server
 /// 
 /// </param>
 /// <param name="referral">the referral(s) returned by the server
 /// </param>
 public RfcSearchResultDone(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral)
     : base(resultCode, matchedDN, errorMessage, referral)
 {
     return ;
 }
 /// <summary>
 ///     Constructs an RfcModifyResponse from parameters.
 /// </summary>
 /// <param name="resultCode">
 ///     the result code of the operation.
 /// </param>
 /// <param name="matchedDn">
 ///     the matched DN returned from the server.
 /// </param>
 /// <param name="errorMessage">
 ///     the diagnostic message returned from the server.
 /// </param>
 /// <param name="referral">
 ///     the referral(s) returned by the server.
 /// </param>
 public RfcModifyResponse(Asn1Enumerated resultCode, RfcLdapDn matchedDn, RfcLdapString errorMessage,
                          RfcReferral referral)
     : base(resultCode, matchedDn, errorMessage, referral)
 {
 }
示例#13
0
        // *************************************************************************
        // Constructors for RfcLdapResult
        // *************************************************************************

        /// <summary>
        ///     Constructs an RfcLdapResult from parameters.
        /// </summary>
        /// <param name="resultCode">
        ///     the result code of the operation.
        /// </param>
        /// <param name="matchedDn">
        ///     the matched DN returned from the server.
        /// </param>
        /// <param name="errorMessage">
        ///     the diagnostic message returned from the server.
        /// </param>
        public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDn matchedDn, RfcLdapString errorMessage)
            : this(resultCode, matchedDn, errorMessage, null)
        {
        }
示例#14
0
 /// <summary> Constructs an RfcLdapResult from parameters
 /// 
 /// </summary>
 /// <param name="resultCode">the result code of the operation
 /// 
 /// </param>
 /// <param name="matchedDN">the matched DN returned from the server
 /// 
 /// </param>
 /// <param name="errorMessage">the diagnostic message returned from the server
 /// 
 /// </param>
 /// <param name="referral">the referral(s) returned by the server
 /// </param>
 public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral)
     : base(4)
 {
     add(resultCode);
     add(matchedDN);
     add(errorMessage);
     if (referral != null)
         add(referral);
     return ;
 }
示例#15
0
 //*************************************************************************
 // Constructors for RfcLdapResult
 //*************************************************************************
 /// <summary> Constructs an RfcLdapResult from parameters
 /// 
 /// </summary>
 /// <param name="resultCode">the result code of the operation
 /// 
 /// </param>
 /// <param name="matchedDN">the matched DN returned from the server
 /// 
 /// </param>
 /// <param name="errorMessage">the diagnostic message returned from the server
 /// </param>
 public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage)
     : this(resultCode, matchedDN, errorMessage, null)
 {
     return ;
 }