[#SSL_CTX_use_RSAPrivateKey_ASN1] = SSL_CTX_use_RSAPrivateKey_ASN1 :mrdocs: Load an RSA private key from a DER buffer into an SSL context (deprecated). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int SSL_CTX_use_RSAPrivateKey_ASN1( xref:SSL_CTX.adoc[SSL_CTX]* ctx, unsigned char const* d, long len); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context that receives the key. | *d* | DER‐encoded RSAPrivateKey bytes. | *len* | Length of `d` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#