Class BindRequestFactory

    • Method Detail

      • encodeReverse

        public void encodeReverse​(LdapApiService codec,
                                  Asn1Buffer buffer,
                                  Message message)
        Encode the BindRequest message to a PDU.
        BindRequest :
         0x60 LL
           0x02 LL version         0x80 LL simple
           0x04 LL name           /
           authentication.encode()
                                  \ 0x83 LL 0x04 LL mechanism [0x04 LL credential]
         
        Specified by:
        encodeReverse in interface Messagefactory
        Parameters:
        codec - The LdapApiService instance
        buffer - The buffer where to put the PDU
        message - the BindRequest to encode