certs.h File Reference

Sample certificates and DHM parameters for testing. More...

`#include "config.h"`
`#include <stddef.h>`
Include dependency graph for certs.h:

Go to the source code of this file.

## Variables

const char * | mbedtls_test_cas []
const size_t | mbedtls_test_cas_len []
const unsigned char * | mbedtls_test_cas_der []
const size_t | mbedtls_test_cas_der_len []
const char | mbedtls_test_cas_pem []
const size_t | mbedtls_test_cas_pem_len
const char | mbedtls_test_ca_crt_ec_pem []
const char | mbedtls_test_ca_key_ec_pem []
const char | mbedtls_test_ca_pwd_ec_pem []
const char | mbedtls_test_ca_key_rsa_pem []
const char | mbedtls_test_ca_pwd_rsa_pem []
const char | mbedtls_test_ca_crt_rsa_sha1_pem []
const char | mbedtls_test_ca_crt_rsa_sha256_pem []
const unsigned char | mbedtls_test_ca_crt_ec_der []
const unsigned char | mbedtls_test_ca_key_ec_der []
const unsigned char | mbedtls_test_ca_key_rsa_der []
const unsigned char | mbedtls_test_ca_crt_rsa_sha1_der []
const unsigned char | mbedtls_test_ca_crt_rsa_sha256_der []
const size_t | mbedtls_test_ca_crt_ec_pem_len
const size_t | mbedtls_test_ca_key_ec_pem_len
const size_t | mbedtls_test_ca_pwd_ec_pem_len
const size_t | mbedtls_test_ca_key_rsa_pem_len
const size_t | mbedtls_test_ca_pwd_rsa_pem_len
const size_t | mbedtls_test_ca_crt_rsa_sha1_pem_len
const size_t | mbedtls_test_ca_crt_rsa_sha256_pem_len
const size_t | mbedtls_test_ca_crt_ec_der_len
const size_t | mbedtls_test_ca_key_ec_der_len
const size_t | mbedtls_test_ca_pwd_ec_der_len
const size_t | mbedtls_test_ca_key_rsa_der_len
const size_t | mbedtls_test_ca_pwd_rsa_der_len
const size_t | mbedtls_test_ca_crt_rsa_sha1_der_len
const size_t | mbedtls_test_ca_crt_rsa_sha256_der_len
const char | mbedtls_test_ca_crt_ec []
const char | mbedtls_test_ca_key_ec []
const char | mbedtls_test_ca_pwd_ec []
const char | mbedtls_test_ca_key_rsa []
const char | mbedtls_test_ca_pwd_rsa []
const char | mbedtls_test_ca_crt_rsa_sha1 []
const char | mbedtls_test_ca_crt_rsa_sha256 []
const size_t | mbedtls_test_ca_crt_ec_len
const size_t | mbedtls_test_ca_key_ec_len
const size_t | mbedtls_test_ca_pwd_ec_len
const size_t | mbedtls_test_ca_key_rsa_len
const size_t | mbedtls_test_ca_pwd_rsa_len
const size_t | mbedtls_test_ca_crt_rsa_sha1_len
const size_t | mbedtls_test_ca_crt_rsa_sha256_len
const char | mbedtls_test_ca_crt_rsa []
const size_t | mbedtls_test_ca_crt_rsa_len
const char * | mbedtls_test_ca_crt
const char * | mbedtls_test_ca_key
const char * | mbedtls_test_ca_pwd
const size_t | mbedtls_test_ca_crt_len
const size_t | mbedtls_test_ca_key_len
const size_t | mbedtls_test_ca_pwd_len
const char | mbedtls_test_srv_crt_ec_pem []
const char | mbedtls_test_srv_key_ec_pem []
const char | mbedtls_test_srv_pwd_ec_pem []
const char | mbedtls_test_srv_key_rsa_pem []
const char | mbedtls_test_srv_pwd_rsa_pem []
const char | mbedtls_test_srv_crt_rsa_sha1_pem []
const char | mbedtls_test_srv_crt_rsa_sha256_pem []
const unsigned char | mbedtls_test_srv_crt_ec_der []
const unsigned char | mbedtls_test_srv_key_ec_der []
const unsigned char | mbedtls_test_srv_key_rsa_der []
const unsigned char | mbedtls_test_srv_crt_rsa_sha1_der []
const unsigned char | mbedtls_test_srv_crt_rsa_sha256_der []
const size_t | mbedtls_test_srv_crt_ec_pem_len
const size_t | mbedtls_test_srv_key_ec_pem_len
const size_t | mbedtls_test_srv_pwd_ec_pem_len
const size_t | mbedtls_test_srv_key_rsa_pem_len
const size_t | mbedtls_test_srv_pwd_rsa_pem_len
const size_t | mbedtls_test_srv_crt_rsa_sha1_pem_len
const size_t | mbedtls_test_srv_crt_rsa_sha256_pem_len
const size_t | mbedtls_test_srv_crt_ec_der_len
const size_t | mbedtls_test_srv_key_ec_der_len
const size_t | mbedtls_test_srv_pwd_ec_der_len
const size_t | mbedtls_test_srv_key_rsa_der_len
const size_t | mbedtls_test_srv_pwd_rsa_der_len
const size_t | mbedtls_test_srv_crt_rsa_sha1_der_len
const size_t | mbedtls_test_srv_crt_rsa_sha256_der_len
const char | mbedtls_test_srv_crt_ec []
const char | mbedtls_test_srv_key_ec []
const char | mbedtls_test_srv_pwd_ec []
const char | mbedtls_test_srv_key_rsa []
const char | mbedtls_test_srv_pwd_rsa []
const char | mbedtls_test_srv_crt_rsa_sha1 []
const char | mbedtls_test_srv_crt_rsa_sha256 []
const size_t | mbedtls_test_srv_crt_ec_len
const size_t | mbedtls_test_srv_key_ec_len
const size_t | mbedtls_test_srv_pwd_ec_len
const size_t | mbedtls_test_srv_key_rsa_len
const size_t | mbedtls_test_srv_pwd_rsa_len
const size_t | mbedtls_test_srv_crt_rsa_sha1_len
const size_t | mbedtls_test_srv_crt_rsa_sha256_len
const char | mbedtls_test_srv_crt_rsa []
const size_t | mbedtls_test_srv_crt_rsa_len
const char * | mbedtls_test_srv_crt
const char * | mbedtls_test_srv_key
const char * | mbedtls_test_srv_pwd
const size_t | mbedtls_test_srv_crt_len
const size_t | mbedtls_test_srv_key_len
const size_t | mbedtls_test_srv_pwd_len
const char | mbedtls_test_cli_crt_ec_pem []
const char | mbedtls_test_cli_key_ec_pem []
const char | mbedtls_test_cli_pwd_ec_pem []
const char | mbedtls_test_cli_key_rsa_pem []
const char | mbedtls_test_cli_pwd_rsa_pem []
const char | mbedtls_test_cli_crt_rsa_pem []
const unsigned char | mbedtls_test_cli_crt_ec_der []
const unsigned char | mbedtls_test_cli_key_ec_der []
const unsigned char | mbedtls_test_cli_key_rsa_der []
const unsigned char | mbedtls_test_cli_crt_rsa_der []
const size_t | mbedtls_test_cli_crt_ec_pem_len
const size_t | mbedtls_test_cli_key_ec_pem_len
const size_t | mbedtls_test_cli_pwd_ec_pem_len
const size_t | mbedtls_test_cli_key_rsa_pem_len
const size_t | mbedtls_test_cli_pwd_rsa_pem_len
const size_t | mbedtls_test_cli_crt_rsa_pem_len
const size_t | mbedtls_test_cli_crt_ec_der_len
const size_t | mbedtls_test_cli_key_ec_der_len
const size_t | mbedtls_test_cli_key_rsa_der_len
const size_t | mbedtls_test_cli_crt_rsa_der_len
const char | mbedtls_test_cli_crt_ec []
const char | mbedtls_test_cli_key_ec []
const char | mbedtls_test_cli_pwd_ec []
const char | mbedtls_test_cli_key_rsa []
const char | mbedtls_test_cli_pwd_rsa []
const char | mbedtls_test_cli_crt_rsa []
const size_t | mbedtls_test_cli_crt_ec_len
const size_t | mbedtls_test_cli_key_ec_len
const size_t | mbedtls_test_cli_pwd_ec_len
const size_t | mbedtls_test_cli_key_rsa_len
const size_t | mbedtls_test_cli_pwd_rsa_len
const size_t | mbedtls_test_cli_crt_rsa_len
const char * | mbedtls_test_cli_crt
const char * | mbedtls_test_cli_key
const char * | mbedtls_test_cli_pwd
const size_t | mbedtls_test_cli_crt_len
const size_t | mbedtls_test_cli_key_len
const size_t | mbedtls_test_cli_pwd_len

## Detailed Description

Sample certificates and DHM parameters for testing.

Definition in file certs.h.

## Variable Documentation

## mbedtls_test_ca_crt

const char* mbedtls_test_ca_crt

## mbedtls_test_ca_crt_ec

const char mbedtls_test_ca_crt_ec[]

## mbedtls_test_ca_crt_ec_der

const unsigned char mbedtls_test_ca_crt_ec_der[]

## mbedtls_test_ca_crt_ec_der_len

const size_t mbedtls_test_ca_crt_ec_der_len

## mbedtls_test_ca_crt_ec_len

const size_t mbedtls_test_ca_crt_ec_len

## mbedtls_test_ca_crt_ec_pem

const char mbedtls_test_ca_crt_ec_pem[]

## mbedtls_test_ca_crt_ec_pem_len

const size_t mbedtls_test_ca_crt_ec_pem_len

## mbedtls_test_ca_crt_len

const size_t mbedtls_test_ca_crt_len

## mbedtls_test_ca_crt_rsa

const char mbedtls_test_ca_crt_rsa[]

## mbedtls_test_ca_crt_rsa_len

const size_t mbedtls_test_ca_crt_rsa_len

## mbedtls_test_ca_crt_rsa_sha1

const char mbedtls_test_ca_crt_rsa_sha1[]

## mbedtls_test_ca_crt_rsa_sha1_der

const unsigned char mbedtls_test_ca_crt_rsa_sha1_der[]

## mbedtls_test_ca_crt_rsa_sha1_der_len

const size_t mbedtls_test_ca_crt_rsa_sha1_der_len

## mbedtls_test_ca_crt_rsa_sha1_len

const size_t mbedtls_test_ca_crt_rsa_sha1_len

## mbedtls_test_ca_crt_rsa_sha1_pem

const char mbedtls_test_ca_crt_rsa_sha1_pem[]

## mbedtls_test_ca_crt_rsa_sha1_pem_len

const size_t mbedtls_test_ca_crt_rsa_sha1_pem_len

## mbedtls_test_ca_crt_rsa_sha256

const char mbedtls_test_ca_crt_rsa_sha256[]

## mbedtls_test_ca_crt_rsa_sha256_der

const unsigned char mbedtls_test_ca_crt_rsa_sha256_der[]

## mbedtls_test_ca_crt_rsa_sha256_der_len

const size_t mbedtls_test_ca_crt_rsa_sha256_der_len

## mbedtls_test_ca_crt_rsa_sha256_len

const size_t mbedtls_test_ca_crt_rsa_sha256_len

## mbedtls_test_ca_crt_rsa_sha256_pem

const char mbedtls_test_ca_crt_rsa_sha256_pem[]

## mbedtls_test_ca_crt_rsa_sha256_pem_len

const size_t mbedtls_test_ca_crt_rsa_sha256_pem_len

## mbedtls_test_ca_key

const char* mbedtls_test_ca_key

## mbedtls_test_ca_key_ec

const char mbedtls_test_ca_key_ec[]

## mbedtls_test_ca_key_ec_der

const unsigned char mbedtls_test_ca_key_ec_der[]

## mbedtls_test_ca_key_ec_der_len

const size_t mbedtls_test_ca_key_ec_der_len

## mbedtls_test_ca_key_ec_len

const size_t mbedtls_test_ca_key_ec_len

## mbedtls_test_ca_key_ec_pem

const char mbedtls_test_ca_key_ec_pem[]

## mbedtls_test_ca_key_ec_pem_len

const size_t mbedtls_test_ca_key_ec_pem_len

## mbedtls_test_ca_key_len

const size_t mbedtls_test_ca_key_len

## mbedtls_test_ca_key_rsa

const char mbedtls_test_ca_key_rsa[]

## mbedtls_test_ca_key_rsa_der

const unsigned char mbedtls_test_ca_key_rsa_der[]

## mbedtls_test_ca_key_rsa_der_len

const size_t mbedtls_test_ca_key_rsa_der_len

## mbedtls_test_ca_key_rsa_len

const size_t mbedtls_test_ca_key_rsa_len

## mbedtls_test_ca_key_rsa_pem

const char mbedtls_test_ca_key_rsa_pem[]

## mbedtls_test_ca_key_rsa_pem_len

const size_t mbedtls_test_ca_key_rsa_pem_len

## mbedtls_test_ca_pwd

const char* mbedtls_test_ca_pwd

## mbedtls_test_ca_pwd_ec

const char mbedtls_test_ca_pwd_ec[]

## mbedtls_test_ca_pwd_ec_der_len

const size_t mbedtls_test_ca_pwd_ec_der_len

## mbedtls_test_ca_pwd_ec_len

const size_t mbedtls_test_ca_pwd_ec_len

## mbedtls_test_ca_pwd_ec_pem

const char mbedtls_test_ca_pwd_ec_pem[]

## mbedtls_test_ca_pwd_ec_pem_len

const size_t mbedtls_test_ca_pwd_ec_pem_len

## mbedtls_test_ca_pwd_len

const size_t mbedtls_test_ca_pwd_len

## mbedtls_test_ca_pwd_rsa

const char mbedtls_test_ca_pwd_rsa[]

## mbedtls_test_ca_pwd_rsa_der_len

const size_t mbedtls_test_ca_pwd_rsa_der_len

## mbedtls_test_ca_pwd_rsa_len

const size_t mbedtls_test_ca_pwd_rsa_len

## mbedtls_test_ca_pwd_rsa_pem

const char mbedtls_test_ca_pwd_rsa_pem[]

## mbedtls_test_ca_pwd_rsa_pem_len

const size_t mbedtls_test_ca_pwd_rsa_pem_len

## mbedtls_test_cas

const char* mbedtls_test_cas[]

## mbedtls_test_cas_der

const unsigned char* mbedtls_test_cas_der[]

## mbedtls_test_cas_der_len

const size_t mbedtls_test_cas_der_len[]

## mbedtls_test_cas_len

const size_t mbedtls_test_cas_len[]

## mbedtls_test_cas_pem

const char mbedtls_test_cas_pem[]

## mbedtls_test_cas_pem_len

const size_t mbedtls_test_cas_pem_len

## mbedtls_test_cli_crt

const char* mbedtls_test_cli_crt

## mbedtls_test_cli_crt_ec

const char mbedtls_test_cli_crt_ec[]

## mbedtls_test_cli_crt_ec_der

const unsigned char mbedtls_test_cli_crt_ec_der[]

## mbedtls_test_cli_crt_ec_der_len

const size_t mbedtls_test_cli_crt_ec_der_len

## mbedtls_test_cli_crt_ec_len

const size_t mbedtls_test_cli_crt_ec_len

## mbedtls_test_cli_crt_ec_pem

const char mbedtls_test_cli_crt_ec_pem[]

## mbedtls_test_cli_crt_ec_pem_len

const size_t mbedtls_test_cli_crt_ec_pem_len

## mbedtls_test_cli_crt_len

const size_t mbedtls_test_cli_crt_len

## mbedtls_test_cli_crt_rsa

const char mbedtls_test_cli_crt_rsa[]

## mbedtls_test_cli_crt_rsa_der

const unsigned char mbedtls_test_cli_crt_rsa_der[]

## mbedtls_test_cli_crt_rsa_der_len

const size_t mbedtls_test_cli_crt_rsa_der_len

## mbedtls_test_cli_crt_rsa_len

const size_t mbedtls_test_cli_crt_rsa_len

## mbedtls_test_cli_crt_rsa_pem

const char mbedtls_test_cli_crt_rsa_pem[]

## mbedtls_test_cli_crt_rsa_pem_len

const size_t mbedtls_test_cli_crt_rsa_pem_len

## mbedtls_test_cli_key

const char* mbedtls_test_cli_key

## mbedtls_test_cli_key_ec

const char mbedtls_test_cli_key_ec[]

## mbedtls_test_cli_key_ec_der

const unsigned char mbedtls_test_cli_key_ec_der[]

## mbedtls_test_cli_key_ec_der_len

const size_t mbedtls_test_cli_key_ec_der_len

## mbedtls_test_cli_key_ec_len

const size_t mbedtls_test_cli_key_ec_len

## mbedtls_test_cli_key_ec_pem

const char mbedtls_test_cli_key_ec_pem[]

## mbedtls_test_cli_key_ec_pem_len

const size_t mbedtls_test_cli_key_ec_pem_len

## mbedtls_test_cli_key_len

const size_t mbedtls_test_cli_key_len

## mbedtls_test_cli_key_rsa

const char mbedtls_test_cli_key_rsa[]

## mbedtls_test_cli_key_rsa_der

const unsigned char mbedtls_test_cli_key_rsa_der[]

## mbedtls_test_cli_key_rsa_der_len

const size_t mbedtls_test_cli_key_rsa_der_len

## mbedtls_test_cli_key_rsa_len

const size_t mbedtls_test_cli_key_rsa_len

## mbedtls_test_cli_key_rsa_pem

const char mbedtls_test_cli_key_rsa_pem[]

## mbedtls_test_cli_key_rsa_pem_len

const size_t mbedtls_test_cli_key_rsa_pem_len

## mbedtls_test_cli_pwd

const char* mbedtls_test_cli_pwd

## mbedtls_test_cli_pwd_ec

const char mbedtls_test_cli_pwd_ec[]

## mbedtls_test_cli_pwd_ec_len

const size_t mbedtls_test_cli_pwd_ec_len

## mbedtls_test_cli_pwd_ec_pem

const char mbedtls_test_cli_pwd_ec_pem[]

## mbedtls_test_cli_pwd_ec_pem_len

const size_t mbedtls_test_cli_pwd_ec_pem_len

## mbedtls_test_cli_pwd_len

const size_t mbedtls_test_cli_pwd_len

## mbedtls_test_cli_pwd_rsa

const char mbedtls_test_cli_pwd_rsa[]

## mbedtls_test_cli_pwd_rsa_len

const size_t mbedtls_test_cli_pwd_rsa_len

## mbedtls_test_cli_pwd_rsa_pem

const char mbedtls_test_cli_pwd_rsa_pem[]

## mbedtls_test_cli_pwd_rsa_pem_len

const size_t mbedtls_test_cli_pwd_rsa_pem_len

## mbedtls_test_srv_crt

const char* mbedtls_test_srv_crt

## mbedtls_test_srv_crt_ec

const char mbedtls_test_srv_crt_ec[]

## mbedtls_test_srv_crt_ec_der

const unsigned char mbedtls_test_srv_crt_ec_der[]

## mbedtls_test_srv_crt_ec_der_len

const size_t mbedtls_test_srv_crt_ec_der_len

## mbedtls_test_srv_crt_ec_len

const size_t mbedtls_test_srv_crt_ec_len

## mbedtls_test_srv_crt_ec_pem

const char mbedtls_test_srv_crt_ec_pem[]

## mbedtls_test_srv_crt_ec_pem_len

const size_t mbedtls_test_srv_crt_ec_pem_len

## mbedtls_test_srv_crt_len

const size_t mbedtls_test_srv_crt_len

## mbedtls_test_srv_crt_rsa

const char mbedtls_test_srv_crt_rsa[]

## mbedtls_test_srv_crt_rsa_len

const size_t mbedtls_test_srv_crt_rsa_len

## mbedtls_test_srv_crt_rsa_sha1

const char mbedtls_test_srv_crt_rsa_sha1[]

## mbedtls_test_srv_crt_rsa_sha1_der

const unsigned char mbedtls_test_srv_crt_rsa_sha1_der[]

## mbedtls_test_srv_crt_rsa_sha1_der_len

const size_t mbedtls_test_srv_crt_rsa_sha1_der_len

## mbedtls_test_srv_crt_rsa_sha1_len

const size_t mbedtls_test_srv_crt_rsa_sha1_len

## mbedtls_test_srv_crt_rsa_sha1_pem

const char mbedtls_test_srv_crt_rsa_sha1_pem[]

## mbedtls_test_srv_crt_rsa_sha1_pem_len

const size_t mbedtls_test_srv_crt_rsa_sha1_pem_len

## mbedtls_test_srv_crt_rsa_sha256

const char mbedtls_test_srv_crt_rsa_sha256[]

## mbedtls_test_srv_crt_rsa_sha256_der

const unsigned char mbedtls_test_srv_crt_rsa_sha256_der[]

## mbedtls_test_srv_crt_rsa_sha256_der_len

const size_t mbedtls_test_srv_crt_rsa_sha256_der_len

## mbedtls_test_srv_crt_rsa_sha256_len

const size_t mbedtls_test_srv_crt_rsa_sha256_len

## mbedtls_test_srv_crt_rsa_sha256_pem

const char mbedtls_test_srv_crt_rsa_sha256_pem[]

## mbedtls_test_srv_crt_rsa_sha256_pem_len

const size_t mbedtls_test_srv_crt_rsa_sha256_pem_len

## mbedtls_test_srv_key

const char* mbedtls_test_srv_key

## mbedtls_test_srv_key_ec

const char mbedtls_test_srv_key_ec[]

## mbedtls_test_srv_key_ec_der

const unsigned char mbedtls_test_srv_key_ec_der[]

## mbedtls_test_srv_key_ec_der_len

const size_t mbedtls_test_srv_key_ec_der_len

## mbedtls_test_srv_key_ec_len

const size_t mbedtls_test_srv_key_ec_len

## mbedtls_test_srv_key_ec_pem

const char mbedtls_test_srv_key_ec_pem[]

## mbedtls_test_srv_key_ec_pem_len

const size_t mbedtls_test_srv_key_ec_pem_len

## mbedtls_test_srv_key_len

const size_t mbedtls_test_srv_key_len

## mbedtls_test_srv_key_rsa

const char mbedtls_test_srv_key_rsa[]

## mbedtls_test_srv_key_rsa_der

const unsigned char mbedtls_test_srv_key_rsa_der[]

## mbedtls_test_srv_key_rsa_der_len

const size_t mbedtls_test_srv_key_rsa_der_len

## mbedtls_test_srv_key_rsa_len

const size_t mbedtls_test_srv_key_rsa_len

## mbedtls_test_srv_key_rsa_pem

const char mbedtls_test_srv_key_rsa_pem[]

## mbedtls_test_srv_key_rsa_pem_len

const size_t mbedtls_test_srv_key_rsa_pem_len

## mbedtls_test_srv_pwd

const char* mbedtls_test_srv_pwd

## mbedtls_test_srv_pwd_ec

const char mbedtls_test_srv_pwd_ec[]

## mbedtls_test_srv_pwd_ec_der_len

const size_t mbedtls_test_srv_pwd_ec_der_len

## mbedtls_test_srv_pwd_ec_len

const size_t mbedtls_test_srv_pwd_ec_len

## mbedtls_test_srv_pwd_ec_pem

const char mbedtls_test_srv_pwd_ec_pem[]

## mbedtls_test_srv_pwd_ec_pem_len

const size_t mbedtls_test_srv_pwd_ec_pem_len

## mbedtls_test_srv_pwd_len

const size_t mbedtls_test_srv_pwd_len

## mbedtls_test_srv_pwd_rsa

const char mbedtls_test_srv_pwd_rsa[]

## mbedtls_test_srv_pwd_rsa_der_len

const size_t mbedtls_test_srv_pwd_rsa_der_len

## mbedtls_test_srv_pwd_rsa_len

const size_t mbedtls_test_srv_pwd_rsa_len

## mbedtls_test_srv_pwd_rsa_pem

const char mbedtls_test_srv_pwd_rsa_pem[]

## mbedtls_test_srv_pwd_rsa_pem_len

const size_t mbedtls_test_srv_pwd_rsa_pem_len