Construct an OSSL_PARAM describing a UTF‐8 string buffer.

Synopsis

Declared in <openssl/params.h>

OSSL_PARAM
OSSL_PARAM_construct_utf8_string(
    char const* key,
    char* buf,
    size_t bsize);

Return Value

Populated OSSL_PARAM value (by value).

Parameters

Name

Description

key

Parameter name.

buf

Storage for the UTF‐8 string (writable buffer owned by the caller).

bsize

Capacity of buf in bytes; 0 means use strlen(buf).

Created with MrDocs