24 #ifndef MBEDTLS_X509_CSR_H 25 #define MBEDTLS_X509_CSR_H 27 #if !defined(MBEDTLS_CONFIG_FILE) 30 #include MBEDTLS_CONFIG_FILE 83 #if defined(MBEDTLS_X509_CSR_PARSE_C) 96 const unsigned char *buf,
size_t buflen );
110 int mbedtls_x509_csr_parse(
mbedtls_x509_csr *csr,
const unsigned char *buf,
size_t buflen );
112 #if defined(MBEDTLS_FS_IO) 138 int mbedtls_x509_csr_info(
char *buf,
size_t size,
const char *prefix,
159 #if defined(MBEDTLS_X509_CSR_WRITE_C) 180 const char *subject_name );
221 unsigned char ns_cert_type );
236 const char *oid,
size_t oid_len,
237 const unsigned char *val,
size_t val_len );
268 int (*f_rng)(
void *,
unsigned char *,
size_t),
271 #if defined(MBEDTLS_PEM_WRITE_C) 290 int (*f_rng)(
void *,
unsigned char *,
size_t),
Definition: x509_csr.h:51
mbedtls_x509_buf sig
Definition: x509_csr.h:64
mbedtls_x509_name subject
Definition: x509_csr.h:59
Public key container.
Definition: pk.h:130
mbedtls_pk_context * key
Definition: x509_csr.h:76
int version
Definition: x509_csr.h:56
mbedtls_md_type_t sig_md
Definition: x509_csr.h:65
mbedtls_md_type_t md_alg
Definition: x509_csr.h:78
mbedtls_pk_type_t
Public key types.
Definition: pk.h:78
Configuration options (set of defines)
struct mbedtls_x509_csr mbedtls_x509_csr
mbedtls_asn1_named_data * extensions
Definition: x509_csr.h:79
mbedtls_pk_type_t sig_pk
Definition: x509_csr.h:66
mbedtls_x509_buf sig_oid
Definition: x509_csr.h:63
mbedtls_x509_buf raw
Definition: x509_csr.h:53
void * sig_opts
Definition: x509_csr.h:67
struct mbedtls_x509write_csr mbedtls_x509write_csr
mbedtls_x509_buf cri
Definition: x509_csr.h:54
X.509 generic defines and structures.
mbedtls_x509_buf subject_raw
Definition: x509_csr.h:58
Definition: x509_csr.h:74
mbedtls_asn1_named_data * subject
Definition: x509_csr.h:77
mbedtls_md_type_t
Supported message digests.
Definition: md.h:58
mbedtls_pk_context pk
Definition: x509_csr.h:61