OSSL_PARAM_get_utf8_string_ptr

Return a pointer to the UTF-8 contents of an OSSL_PARAM without copying.

Synopsis

Declared in <openssl/params.h>

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

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
pParameter of type OSSL_PARAM_UTF8_STRING or OSSL_PARAM_UTF8_PTR.
valReceives a pointer to the internal string data (do not free).