[#EVP_PKEY_new_raw_public_key_ex] = EVP_PKEY_new_raw_public_key_ex :mrdocs: Create an EVP_PKEY from raw public‐key octets using a named algorithm and library context. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:EVP_PKEY.adoc[EVP_PKEY]* EVP_PKEY_new_raw_public_key_ex( xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* keytype, char const* propq, unsigned char const* pub, size_t len); ---- == Return Value New EVP_PKEY, or NULL on failure; free with EVP_PKEY_free. == Parameters [cols="1,4"] |=== | Name| Description | *libctx* | Library context used to fetch the key type, or NULL for the default. | *keytype* | Algorithm name such as "ED25519" or "X25519". | *propq* | Property query string, or NULL. | *pub* | Raw public‐key bytes in the algorithm‐native format. | *len* | Length of `pub` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#