[#SSL_get1_compressed_cert] = SSL_get1_compressed_cert :mrdocs: Copy the pre‐compressed certificate stored for algorithm `alg` on a server SSL connection. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- size_t SSL_get1_compressed_cert( xref:SSL.adoc[SSL]* ssl, int alg, unsigned char** data, size_t* orig_len); ---- == Return Value Length of `*data` in bytes on success, or 0 on failure (including client connections). == Parameters [cols="1,4"] |=== | Name| Description | *ssl* | Server SSL connection that holds a pre‐compressed certificate. | *alg* | Compression algorithm identifier matching a stored blob. | *data* | On success, set to a newly allocated compressed certificate (caller frees with OPENSSL_free). | *orig_len* | On success, set to the uncompressed certificate length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#