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