Hi I am trying to parse a ASN format that has the following structure. ASNSEQUENCE[C] = 3 elements INTEGER = 0 SEQUENCE[C] = 2 elements OBJECT ID = SHA NULL = null SEQUENCE[C] = 1 elements SEQUENCE[C] = 2 elements INTEGER = 1 OCTET STRING = 20 bytes: 98:F7:6A:06:E1...
My input is der encoding of this structure. I am not sure how to correctly read all the elements inside a SEQUENCE. In particular, I want to read the digest and the digest algorithm. I tried using the method ASN1_seq_unpack_ASN1_TYPE. Can anyone provide sample codes or provide an explanation on how to parse? Thanks Venkat ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]