NCBI C++ ToolKit
Classes
x509_crt.h File Reference

X.509 certificate parsing and writing. More...

#include "mbedtls/private_access.h"
#include "mbedtls/build_info.h"
#include "mbedtls/x509.h"
#include "mbedtls/x509_crl.h"
#include "mbedtls/bignum.h"
+ Include dependency graph for x509_crt.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  mbedtls_x509_crt
 Container for an X.509 certificate. More...
 
struct  mbedtls_x509_crt_profile
 Security profile for certificate verification. More...
 
struct  mbedtls_x509write_cert
 Container for writing a certificate (CRT) More...
 
struct  mbedtls_x509_crt_verify_chain_item
 Item in a verification chain: cert and flags for it. More...
 
struct  mbedtls_x509_crt_verify_chain
 Verification chain as built by mbedtls_crt_verify_chain() More...
 

Structures and functions for parsing and writing X.509 certificates

#define MBEDTLS_X509_ID_FLAG(id)   (1 << ((id) - 1))
 Build flag from an algorithm/curve identifier (pk, md, ecp) Since 0 is always XXX_NONE, ignore it. More...
 
#define MBEDTLS_X509_CRT_VERSION_1   0
 
#define MBEDTLS_X509_CRT_VERSION_2   1
 
#define MBEDTLS_X509_CRT_VERSION_3   2
 
#define MBEDTLS_X509_RFC5280_MAX_SERIAL_LEN   20
 
#define MBEDTLS_X509_RFC5280_UTC_TIME_LEN   15
 
#define MBEDTLS_X509_MAX_FILE_PATH_LEN   512
 
#define MBEDTLS_X509_CRT_ERROR_INFO_LIST
 
#define MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE   (MBEDTLS_X509_MAX_INTERMEDIATE_CA + 2)
 Max size of verification chain: end-entity + intermediates + trusted root. More...
 
typedef struct mbedtls_x509_crt mbedtls_x509_crt
 Container for an X.509 certificate. More...
 
typedef struct mbedtls_x509_crt_profile mbedtls_x509_crt_profile
 Security profile for certificate verification. More...
 
typedef struct mbedtls_x509write_cert mbedtls_x509write_cert
 Container for writing a certificate (CRT) More...
 
typedef void mbedtls_x509_crt_restart_ctx
 
int mbedtls_x509write_crt_set_subject_alternative_name (mbedtls_x509write_cert *ctx, const mbedtls_x509_san_list *san_list)
 Set Subject Alternative Name. More...
 
static int mbedtls_x509_crt_has_ext_type (const mbedtls_x509_crt *ctx, int ext_type)
 Query certificate for given extension type. More...
 
int mbedtls_x509_crt_get_ca_istrue (const mbedtls_x509_crt *crt)
 Access the ca_istrue field. More...
 

Detailed Description

X.509 certificate parsing and writing.

Definition in file x509_crt.h.

Modified on Sun Jun 16 04:32:33 2024 by modify_doxy.py rev. 669887