[#SSL_CTX_get1_compressed_cert] = SSL_CTX_get1_compressed_cert :mrdocs: Get a copy of a compressed certificate configured on an SSL_CTX. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- size_t SSL_CTX_get1_compressed_cert( xref:SSL_CTX.adoc[SSL_CTX]* ctx, int alg, unsigned char** data, size_t* orig_len); ---- == Return Value Length of *`data` in bytes, or 0 if unavailable / on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context that may hold compressed certificates. | *alg* | Compression algorithm identifier (TLSEXT_comp_cert_*). | *data* | Receives a newly allocated compressed certificate buffer (caller frees with OPENSSL_free). | *orig_len* | Receives the uncompressed certificate length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#