OSSL_CMP_CTX_set_http_cb

Set the HTTP BIO callback used for CMP message transfer.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set_http_cb(
    OSSL_CMP_CTX* ctx,
    OSSL_HTTP_bio_cb_t cb);

Return Value

1 on success, 0 on error.

Parameters

NameDescription
ctxCMP context.
cbHTTP callback that performs the request/response exchange.