[#EVP_PKEY_get_octet_string_param] = EVP_PKEY_get_octet_string_param :mrdocs: Read an octet‐string parameter from a key by OSSL_PKEY_PARAM name. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_get_octet_string_param( xref:EVP_PKEY.adoc[EVP_PKEY] const* pkey, char const* key_name, unsigned char* buf, size_t max_buf_sz, size_t* out_sz); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key to query. | *key_name* | Parameter name (for example OSSL_PKEY_PARAM_PUB_KEY). | *buf* | Destination buffer, or NULL to only query the required size. | *max_buf_sz* | Capacity of `buf` in bytes. | *out_sz* | Receives the parameter length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#