Hi All,

We are implementing Mutual TLS  for SIP phone(Polycom SoundPoint IP phone). 

In SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type),
here generally we pass macros SSL_FILETYPE_PEM/SSL_FILETYPE_ASN1 as
arguments for the type.

Is there any OpenSSL API available through which we  can get the
certificate/Key type(PEM/DER)?

Or else Is it mandatory to pass either of the two
macros(SSL_FILETYPE_PEM/SSL_FILETYPE_ASN1) as arguments?

Is there still any bug regarding DER format in OpenSSL?

Regards,
Prathima.


-- 
View this message in context: 
http://www.nabble.com/Availability-of-OpenSSL-API-for-getting-certificate-type%28DER-PEM%29-by-giving-certificate-data-as-input-tp21429801p21429801.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to