Append an octet‐string pointer parameter that remains referenced until OSSL_PARAM_free().

Synopsis

Declared in <openssl/param_build.h>

int
OSSL_PARAM_BLD_push_octet_ptr(
    OSSL_PARAM_BLD* bld,
    char const* key,
    void* buf,
    size_t bsize);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

bld

Parameter builder.

key

Parameter name string.

buf

Octet buffer that must remain valid until the resulting OSSL_PARAM array is freed.

bsize

Length of buf in bytes.

Created with MrDocs