Beispiel #1
0
        /// <summary> Create an RfcLdapMessage response from input parameters.</summary>
        public RfcLdapMessage(Asn1Sequence op, RfcControls controls) : base(3)
        {
            this.op       = op;
            this.controls = controls;

            add(new RfcMessageID()); // MessageID has static counter
            add(op);
            if (controls != null)
            {
                add(controls);
            }
        }
Beispiel #2
0
        /// <summary> Create an RfcLdapMessage request from input parameters.</summary>
        public RfcLdapMessage(RfcRequest op, RfcControls controls) : base(3)
        {
            this.op       = (Asn1Object)op;
            this.controls = controls;

            add(new RfcMessageID()); // MessageID has static counter
            add((Asn1Object)op);
            if (controls != null)
            {
                add(controls);
            }
        }