54 lines
1.7 KiB
C
54 lines
1.7 KiB
C
#ifndef _CERTIFICATES_H_
|
|
#define _CERTIFICATES_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
/* This file is auto-generated by the pycert_bearssl tool. Do not change it manually.
|
|
* Certificates are BearSSL br_x509_trust_anchor format. Included certs:
|
|
*
|
|
* Index: 0
|
|
* Label: GlobalSign
|
|
* Subject: OU=GlobalSign ECC Root CA - R4,O=GlobalSign,CN=GlobalSign
|
|
*/
|
|
|
|
#define TAs_NUM 1
|
|
|
|
static const unsigned char TA_DN0[] = {
|
|
0x30, 0x50, 0x31, 0x24, 0x30, 0x22, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x13,
|
|
0x1b, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x20,
|
|
0x45, 0x43, 0x43, 0x20, 0x52, 0x6f, 0x6f, 0x74, 0x20, 0x43, 0x41, 0x20,
|
|
0x2d, 0x20, 0x52, 0x34, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04,
|
|
0x0a, 0x13, 0x0a, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x69, 0x67,
|
|
0x6e, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x0a,
|
|
0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x69, 0x67, 0x6e,
|
|
};
|
|
|
|
static const unsigned char TA_EC_CURVE0[] = {
|
|
0x04, 0xb8, 0xc6, 0x79, 0xd3, 0x8f, 0x6c, 0x25, 0x0e, 0x9f, 0x2e, 0x39,
|
|
0x19, 0x1c, 0x03, 0xa4, 0xae, 0x9a, 0xe5, 0x39, 0x07, 0x09, 0x16, 0xca,
|
|
0x63, 0xb1, 0xb9, 0x86, 0xf8, 0x8a, 0x57, 0xc1, 0x57, 0xce, 0x42, 0xfa,
|
|
0x73, 0xa1, 0xf7, 0x65, 0x42, 0xff, 0x1e, 0xc1, 0x00, 0xb2, 0x6e, 0x73,
|
|
0x0e, 0xff, 0xc7, 0x21, 0xe5, 0x18, 0xa4, 0xaa, 0xd9, 0x71, 0x3f, 0xa8,
|
|
0xd4, 0xb9, 0xce, 0x8c, 0x1d,
|
|
};
|
|
|
|
static const br_x509_trust_anchor TAs[] = {
|
|
{
|
|
{ (unsigned char *)TA_DN0, sizeof TA_DN0 },
|
|
BR_X509_TA_CA,
|
|
{
|
|
BR_KEYTYPE_EC,
|
|
{ .ec = {BR_EC_secp256r1, (unsigned char *)TA_EC_CURVE0, sizeof TA_EC_CURVE0}
|
|
}
|
|
}
|
|
},
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* ifndef _CERTIFICATES_H_ */
|