OSSL_PARAM_set_utf8_string

Write a NUL-terminated UTF-8 string into an OSSL_PARAM destination.

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_set_utf8_string(
    OSSL_PARAM* p,
    char const* val);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
pParameter locating a writable UTF-8 string buffer.
valString to copy (may be truncated to the parameter's size).