On Wed, Sep 08, 2010, Patrick Patterson wrote:

> Hi Paul:
> 
> Where you can start looking at:
> 
> X509_get_ext_by_NID() with NID_key_usage and NID_ext_key_usage
> 
> And either parse out those extensions appropriately for their type
> 

A better function is X509_get_ext_d2i() which will return an appropriate
parsed out structure, in this case an ASN1_BITSTRING.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to