ASN1 framework

Jim Shi hanmao_shi at apple.com
Mon Aug 27 10:59:35 EDT 2012


http://luca.ntop.org/Teaching/Appunti/asn1.html

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 mit.edu
> https://mailman.mit.edu/mailman/listinfo/krbdev



More information about the krbdev mailing list