Asn1_encode: indicate DER compressed form without tag or length as input
authorSam Hartman <hartmans@mit.edu>
Mon, 19 Sep 2011 00:54:11 +0000 (00:54 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 19 Sep 2011 00:54:11 +0000 (00:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25196 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/asn1_encode.h

index 97256a73ae88ef41d29df2ebc0ffd88205afb030..773198f5f422b10055b35b51557967b98ed27d89 100644 (file)
@@ -89,6 +89,10 @@ asn1_error_code asn1_encode_octetstring(asn1buf *buf, unsigned int len,
  */
 #define asn1_encode_charstring asn1_encode_octetstring
 
+/**
+ * Encode @a val, an object identifier in compressed DER form without a tag or
+ * length. This function adds the OID tag and length.
+ */
 asn1_error_code asn1_encode_oid(asn1buf *buf, unsigned int len,
                                 const void *val, unsigned int *retlen);
 /*