How to retrieve the revoked certificate list when X509_LOOKUP_hash_dir() method used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bob,

Yan, Bob wrote:
> H All,
>
> I used the following methods to load CRL hashed-directory into a SSL_CTX object to verify the client certificate against the CRL. The code works fine and it's able to verify the client certificate against the loaded CRLs.  
>
>            X509_STORE *x509Store = SSL_CTX_get_cert_store(sslCtx);
>            X509_LOOKUP *lookup = X509_STORE_add_lookup(x509Store, X509_LOOKUP_hash_dir());
>            X509_LOOKUP_add_dir(lookup, crlDirectory, X509_FILETYPE_PEM);
>                 
> My question is that, is there any method to retrieve the CRL list or print all revoked certificate list?
>   

did you try the X509_CRL_print function?

(this is what "openssl crl -text" uses)

JJK


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux