Copy the algorithm‐specific ID bytes from ctx into id.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_CTX_get1_id(
    EVP_PKEY_CTX* ctx,
    void* id);

Return Value

1 on success, or a non‐positive value on error.

Parameters

Name

Description

ctx

Key context that previously received an ID via EVP_PKEY_CTX_set1_id().

id

Caller‐allocated buffer of size reported by EVP_PKEY_CTX_get1_id_len().

Created with MrDocs