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

Name

Description

p

Parameter of type OSSL_PARAM_UTF8_STRING or OSSL_PARAM_UTF8_PTR.

val

Receives a pointer to the internal string data (do not free).

Created with MrDocs