Install a pre‐compressed certificate blob on a server SSL context.
Synopsis
Declared in <openssl/ssl.h>
int
SSL_CTX_set1_compressed_cert(
SSL_CTX* ctx,
int algorithm,
unsigned char* comp_data,
size_t comp_length,
size_t orig_length);
Return Value
1 on success, or 0 on failure (including when ctx is a client context).
Parameters
Name |
Description |
ctx |
Server SSL context that will send the compressed certificate. |
algorithm |
Certificate compression algorithm identifier. |
comp_data |
Compressed certificate bytes (copied into |
comp_length |
Length of |
orig_length |
Uncompressed certificate length in bytes. |
Created with MrDocs