EVP_PKEY_CTX_get1_id

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

NameDescription
ctxKey context that previously received an ID via EVP_PKEY_CTX_set1_id().
idCaller-allocated buffer of size reported by EVP_PKEY_CTX_get1_id_len().