| Updated: October 28, 2024 |
Public or private key arguments
#include <qcrypto/qcrypto_keys.h>
typedef struct _qcrypto_key_args {
union {
struct {
size_t bits;
size_t pubexp;
} rsa;
struct {
size_t psize;
} dsa;
struct {
qcrypto_ec_curve_t curve;
qcrypto_ec_key_type_t type;
} ec;
struct {
size_t psize;
} dh;
void* private;
};
} qcrypto_key_args_t;
The modulus size in bits.
The public exponent value.
The prime size in bits.
The ECC curve.
The ECC key type.
Private arguments to pass for other key types.