| Updated: October 28, 2024 | 
Initialize PKI key generation using parameters in a file
#include <qcrypto/qcrypto_keys.h>
int qcrypto_keypair_init_from_file(qcrypto_ctx_t *ctx,
                                   const char *params_file,
                                   qcrypto_key_format_t fmt)
This function initializes a PKI key generation algorithm using key parameters from a file.
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.