ASN1 framework

Alejandro Perez Mendez alex at
Mon Aug 27 12:21:41 EDT 2012


Thank you, but I was looking for documentation of the MIT KRB macros, 
not the generic ASN1 documentation.


> On Aug 27, 2012, at 4:49 AM, Alejandro Perez Mendez wrote:
>> Hello,
>> for my GSS preauthentication plugin I should make use of ASN1 for the
>> encoding of the PA element. I've being advised to not encode DER by
>> hand, but use instead the ASN1 macros that are defined in MIT KRB code.
>> However, I've spent a while trying to understand how they work, without
>> much success. Is there any documentation available?
>> I have lots of questions about it, like:
>> Am I supposed to modify the code in lib/krb5/asn1/ to define the
>> encoding of my PA element? (there are lots of PKINIT definitions there)
>> Are encoding/decoding functions generated automatically based on the DEF
>> macros? (some structs have encoding and decoding functions, some only
>> have decoding functions, and some seem to have none of them).
>> Regards,
>> Alejandro
>> _______________________________________________
>> krbdev mailing list             krbdev at

More information about the krbdev mailing list