[Date Prev][Date Next] [Chronological] [Thread] [Top]

BER encoding of password in simple bind in bindrequest ?

Can anyone explain why the encoding of the password when using simple bind is:

.. , 0x80 (the tag for context specific choice 0), length of pw, pw ...

and not:

.. , 0x80, 0x04 (the tag for an octet string), length of pw, pw ...

Thanks in advance

Regards Mads Freek

Mads Freek Petersen
Special Consultant
Computer Science Department
Roskilde University
Building 42-1, P.O. Box 260, DK-4000 Roskilde, Denmark

Phone:  +45 4674 3882
Fax:    +45 4674 3072
E-mail: freek@ruc.dk