Пример #1
0
 /// <summary> </summary>
 public RfcSaslCredentials(RfcLdapString mechanism, Asn1OctetString credentials) : base(2)
 {
     add(mechanism);
     if (credentials != null)
     {
         add(credentials);
     }
 }
Пример #2
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;
 }
Пример #3
0
 /// <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)
 {
     return;
 }
Пример #4
0
        //*************************************************************************
        // Constructors for SaslCredentials
        //*************************************************************************

        /// <summary> </summary>
        public RfcSaslCredentials(RfcLdapString mechanism) : this(mechanism, null)
        {
        }
Пример #5
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;
        }