[#SSL_CTX_use_certificate_ASN1] = SSL_CTX_use_certificate_ASN1 :mrdocs: Load a certificate into an SSL context from a DER encoding. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_use_certificate_ASN1( xref:SSL_CTX.adoc[SSL_CTX]* ctx, int len, unsigned char const* d); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context that receives the certificate. | *len* | Number of bytes at `d.` | *d* | DER‐encoded X.509 certificate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#