AsyncTelegram2
Loading...
Searching...
No Matches
tg_certificate.h
Go to the documentation of this file.
1#ifndef _CERTIFICATES_H_
2#define _CERTIFICATES_H_
3
4#ifdef __cplusplus
5extern "C"
6{
7#endif
8
9/* This file is auto-generated by the pycert_bearssl tool. Do not change it manually.
10 * Certificates are BearSSL br_x509_trust_anchor format. Included certs:
11 *
12 * Index: 0
13 * Label: Go Daddy Class 2 Certification Authority
14 * Subject: OU=Go Daddy Class 2 Certification Authority,O=The Go Daddy Group\, Inc.,C=US
15 * Domain(s): api.telegram.org
16 */
17
18#define TAs_NUM 1
19
20static const unsigned char TA_DN0[] = {
21 0x30, 0x63, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,
22 0x02, 0x55, 0x53, 0x31, 0x21, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x04, 0x0a,
23 0x13, 0x18, 0x54, 0x68, 0x65, 0x20, 0x47, 0x6f, 0x20, 0x44, 0x61, 0x64,
24 0x64, 0x79, 0x20, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2c, 0x20, 0x49, 0x6e,
25 0x63, 0x2e, 0x31, 0x31, 0x30, 0x2f, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x13,
26 0x28, 0x47, 0x6f, 0x20, 0x44, 0x61, 0x64, 0x64, 0x79, 0x20, 0x43, 0x6c,
27 0x61, 0x73, 0x73, 0x20, 0x32, 0x20, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66,
28 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75, 0x74, 0x68,
29 0x6f, 0x72, 0x69, 0x74, 0x79,
30};
31
32static const unsigned char TA_RSA_N0[] = {
33 0xde, 0x9d, 0xd7, 0xea, 0x57, 0x18, 0x49, 0xa1, 0x5b, 0xeb, 0xd7, 0x5f,
34 0x48, 0x86, 0xea, 0xbe, 0xdd, 0xff, 0xe4, 0xef, 0x67, 0x1c, 0xf4, 0x65,
35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b2, 0xc8,
50 0xef, 0x5e, 0x73, 0x0d, 0xee, 0x77, 0xbd, 0x9a, 0xf6, 0x79, 0x98, 0xbc,
51 0xb1, 0x07, 0x67, 0xa2, 0x15, 0x0d, 0xdd, 0xa0, 0x58, 0xc6, 0x44, 0x7b,
52 0x0a, 0x3e, 0x62, 0x28, 0x5f, 0xba, 0x41, 0x07, 0x53, 0x58, 0xcf, 0x11,
53 0x7e, 0x38, 0x74, 0xc5, 0xf8, 0xff, 0xb5, 0x69, 0x90, 0x8f, 0x84, 0x74,
54 0xea, 0x97, 0x1b, 0xaf,
55};
56
57static const unsigned char TA_RSA_E0[] = {
58 0x03,
59};
60
61static const br_x509_trust_anchor TAs[] = {
62 {
63 { (unsigned char *)TA_DN0, sizeof TA_DN0 },
64 BR_X509_TA_CA,
65 {
66 BR_KEYTYPE_RSA,
67 { .rsa = {
68 (unsigned char *)TA_RSA_N0, sizeof TA_RSA_N0,
69 (unsigned char *)TA_RSA_E0, sizeof TA_RSA_E0,
70 } }
71 }
72 },
73};
74
75#ifdef __cplusplus
76} /* extern "C" */
77#endif
78
79#endif /* ifndef _CERTIFICATES_H_ */