mbed TLS v2.2.0
Data Structures
x509_crt.h File Reference

Detailed Description

X.509 certificate parsing and writing.

Copyright (C) 2006-2015, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This file is part of mbed TLS (https://tls.mbed.org)

Definition in file x509_crt.h.

#include <config-sl-crypto-all-acceleration.h>
#include "x509.h"
#include "x509_crl.h"
Include dependency graph for x509_crt.h:

Go to the source code of this file.

Data Structures

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...
 

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   32
 
#define MBEDTLS_X509_RFC5280_UTC_TIME_LEN   15
 
typedef struct mbedtls_x509_crt mbedtls_x509_crt
 Container for an X.509 certificate. More...
 
typedef struct mbedtls_x509write_cert mbedtls_x509write_cert
 Container for writing a certificate (CRT) More...