Hello all;
New OpenSSL user here who's trying to get up to speed on the X509
component as quickly as possible ... also new to certificates ...
forgive the novice question.
I'm using X509_get_ext() and X509_EXTENSION_get_data(ext) in an attempt
to get the basic constraints extension and determine whether the
certificate in question is a CA certificate.
The second routine returns a ASN1_OCTET_STRING containing the following:
length 2
type 4
+ data "0"
flags 0
I'm not sure I understand why I'm getting these values. Type 4 is an
ASN1_OCTET_STRING, yes? I would expect either a BOOLEAN value or
a SEQUENCE (acc. to X.509 spec). Also, I'm getting an ASCII '0' (0x30)
rather than 0x00 (I know this cert is not an CA cert). Are these
the expected values?
- thanks in advance;
Dave Clark
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]