/// <summary> </summary> public RfcSaslCredentials(RfcLdapString mechanism, Asn1OctetString credentials) : base(2) { add(mechanism); if (credentials != null) add(credentials); }
/// <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; }
/// <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; }
//************************************************************************* // Constructors for SaslCredentials //************************************************************************* /// <summary> </summary> public RfcSaslCredentials(RfcLdapString mechanism):this(mechanism, null) { }
/// <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; }
//************************************************************************* // 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 ; }
/// <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) { }
// ************************************************************************* // 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) { }
/// <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 ; }
//************************************************************************* // 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 ; }