#include <kcm_defs.h>
Data Fields | |
char * | subject |
kcm_md_type_e | md_type |
uint32_t | key_usage |
uint32_t | ext_key_usage |
This struct contains CSR parameters for the future-generated CSR.
subject | String that contains the subject (distinguished name) of the certificate in the predefined format. Consists of a comma-separated list of the Object Identifier (OID) types and values; for example, "C=UK,O=ARM,CN=mbed TLS Server 1" . See the instructions for generating a CSR for the full list of supported OIDs. |
md_type | Message digest selected from kcm_md_type_e . |
key_usage | Key usage extension bit-mask selected from kcm_csr_key_usage_e . If the requested CSR does not contain a key usage extension, set to ::KCM_CSR_KU_NONE . |
ext_key_usage | Extended key usage extensions bit-mask selected from kcm_csr_ext_key_usage_e . If the requested CSR does not contain an extended key usage extension, set to ::KCM_CSR_EXT_KU_NONE . |