asn1_encode.{c,h}: support DEFOCTETWRAPTYPE
authorSam Hartman <hartmans@mit.edu>
Mon, 19 Sep 2011 00:34:40 +0000 (00:34 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 19 Sep 2011 00:34:40 +0000 (00:34 +0000)
commit1e1b5d76c466978c53dc8f1e79517243d78f8361
treee1a001c43721418a22b50964ec87febd23d913a0
parentf79ba7eca6846552fcd00d42f4b8f67e05af2e40
asn1_encode.{c,h}: support DEFOCTETWRAPTYPE

Support a way of defining a type that indicates that the DER encoding
of some other type is wrapped inside an octet string in a produced
encoding.  To support this, support encoding of tagged things where
the class is not constructed; in this case it will be primitive.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25187 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/asn.1/asn1_encode.c
src/lib/krb5/asn.1/asn1_encode.h