[#EVP_PKEY_CTX_get1_id_len] = EVP_PKEY_CTX_get1_id_len :mrdocs: Return the length of an algorithm‐specific ID associated with a key context. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_get1_id_len( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, size_t* id_len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Key context that holds an ID (for example SM2 user id). | *id_len* | Receives the ID length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#