Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 OpenSSL ASN.1 模板 API(来自 asn1t.h)来解析我的应用程序中的 ASN.1 对象。问题是我必须使用应用程序标签而不是默认标签:
Foo ::= [APPLICATION 13] SEQUENCE { m01 INTEGER, m02 OCTET STRING }
并且宏(如 ASN1_SEQUENCE)似乎没有提供应用标签参数。