[#EVP_PKEY_set_type] = EVP_PKEY_set_type :mrdocs: Assign the algorithm type of an empty EVP_PKEY by NID / EVP_PKEY_* id. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_set_type( xref:EVP_PKEY.adoc[EVP_PKEY]* pkey, int type); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key object to type (typically freshly EVP_PKEY_new()'d). | *type* | Key type identifier (for example EVP_PKEY_RSA). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#