Return the length of an algorithm-specific ID associated with a key context.
Declared in <openssl/evp.h>
int
EVP_PKEY_CTX_get1_id_len(
EVP_PKEY_CTX* ctx,
size_t* id_len);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Key context that holds an ID (for example SM2 user id). |
| id_len | Receives the ID length in bytes. |