Set an algorithm‐specific identity value on a key operation context (copied).
Synopsis
Declared in <openssl/evp.h>
int
EVP_PKEY_CTX_set1_id(
EVP_PKEY_CTX* ctx,
void const* id,
int len);
Return Value
1 on success, or a non‐positive value on failure.
Parameters
Name |
Description |
ctx |
Key context that supports an ID parameter (for example SM2). |
id |
Identity bytes to copy into the context. |
len |
Length of |
Created with MrDocs