qcrypto_ec_key_type_t

Updated: April 19, 2023

EC key types

Synopsis:

#include <qcrypto/qcrypto_keys.h>
typedef enum {
    QCRYPTO_EC_KEY_TYPE_NAMED = 0,
    QCRYPTO_EC_KEY_TYPE_EXPLICIT = 1
} qcrypto_ec_key_type_t;

Data:

QCRYPTO_EC_KEY_TYPE_NAMED

Key is created with the curve name encoded.

QCRYPTO_EC_KEY_TYPE_EXPLICIT

Key is created with the explicit curve parameters encoded.

Library:

libqcrypto

Description:

Only named curve keys can be used in X.509 certificates.