KRB_AP_REQ data buffer length
Sam Hartman
hartmans at MIT.EDU
Wed Jul 24 10:08:20 EDT 2002
>>>>> "Srinivas" == Srinivas Cheruku <csri at sonata-software.com> writes:
Srinivas> Hi, I will get a data buffer containing DER encoded
Srinivas> KRB_AP_REQ from a client application. This client
Srinivas> application is built using the raw MIT libraries and not
Srinivas> GSS. Will the first few bytes of the encoded data buffer
Srinivas> hold the size of the KRB_AP_REQ?
Not directly. ASN.1 is self-describing in that an ASN.1 decoder could
know how many bytes are there, but you should not depend on this in
your application design. Your transport should include length
markers.
More information about the Kerberos
mailing list