Go to the documentation of this file.
27 #ifndef POLARSSL_X509_CRT_H
28 #define POLARSSL_X509_CRT_H
97 #define X509_CRT_VERSION_1 0
98 #define X509_CRT_VERSION_2 1
99 #define X509_CRT_VERSION_3 2
101 #define X509_RFC5280_MAX_SERIAL_LEN 32
102 #define X509_RFC5280_UTC_TIME_LEN 15
122 #if defined(POLARSSL_X509_CRT_PARSE_C)
152 #if defined(POLARSSL_FS_IO)
196 int x509_crt_info(
char *buf,
size_t size,
const char *prefix,
238 const char *cn,
int *flags,
239 int (*f_vrfy)(
void *,
x509_crt *,
int,
int *),
242 #if defined(POLARSSL_X509_CRL_PARSE_C)
273 #if defined(POLARSSL_X509_CRT_WRITE_C)
385 const char *oid,
size_t oid_len,
387 const unsigned char *val,
size_t val_len );
401 int is_ca,
int max_pathlen );
446 unsigned char ns_cert_type );
476 int (*f_rng)(
void *,
unsigned char *,
size_t),
479 #if defined(POLARSSL_PEM_WRITE_C)
497 int (*f_rng)(
void *,
unsigned char *,
size_t),