qcrypto_key_format_t

Updated: May 06, 2022

Key encoding formats

Synopsis:

#include <qcrypto/qcrypto_keys.h>
typedef enum {
    QCRYPTO_KEY_FMT_UNKNOWN =	0,
    QCRYPTO_KEY_FMT_SYMMETRIC,
    QCRYPTO_KEY_FMT_DER,
    QCRYPTO_KEY_FMT_PEM,
    QCRYPTO_KEY_FMT_MAX,
    QCRYPTO_KEY_FMT_PRIVATE =	100
} qcrypto_key_format_t;

Data:

QCRYPTO_KEY_FMT_UNKNOWN

Unknown key format.

QCRYPTO_KEY_FMT_SYMMETRIC

Symmetric key format.

QCRYPTO_KEY_FMT_DER

Public or private key DER format.

QCRYPTO_KEY_FMT_PEM

Public or private key PEM format.

QCRYPTO_KEY_FMT_MAX

Maximum value supported internally by the qcrypto library.

QCRYPTO_KEY_FMT_PRIVATE

Value above which custom formats can use.

Library:

libqcrypto