Hi, All! 

Does openssl have an API to load certificate from engine module.
I've found ENGINE_load_private_key and ENGINE_load_public_key functions,
but they both return EVP_PKEY, not X509.

Problem is: There is hardware crypto device, say smartcard, which is
able to store both private key and certificate. It is not essential, how
certificate gets there - it may be loaded with separate tool. 

But if I want to use this smartcard to authenticate TLS connection
I need to get sertificate from the card to pass to SSL_use_certificate.

Obvoisly, device has such API, and I can access certificate from my
engine, but how to pass it back to OpenSSL?

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to