Try to handle "function declaration isn't a prototype" warnings.
[gnutls.git] / tests / test2.pem
blobf85dbd83f8274b2b3c4fbb0737d4222277a98348
1 [ This should not be validated. The signature on the intermediate
2   certificate is invalid. It must be not trusted but valid (since the
3   chain is ok) ]
5 Certificate:
6     Data:
7         Version: 3 (0x2)
8         Serial Number: 3 (0x3)
9         Signature Algorithm: sha1WithRSAEncryption
10         Issuer: C=US, O=U.S. Government, OU=Dod, OU=Testing, CN=CA1-CP.01.02
11         Validity
12             Not Before: Jan  1 12:01:00 1998 GMT
13             Not After : Jan  1 12:01:00 2048 GMT
14         Subject: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=User1-CP.01.02
15         Subject Public Key Info:
16             Public Key Algorithm: rsaEncryption
17             RSA Public Key: (1024 bit)
18                 Modulus (1024 bit):
19                     00:bc:09:ad:94:fa:6c:95:d0:9d:9c:dc:de:ca:1c:
20                     67:f9:8d:b0:46:a0:e0:14:dd:ca:6f:7d:64:23:f6:
21                     dc:f1:ac:4c:27:d5:db:3e:fe:a7:80:de:84:81:6b:
22                     9f:f3:7f:6b:57:75:9e:fc:aa:46:aa:50:18:f5:3c:
23                     ea:d9:75:09:68:05:b5:74:be:cc:27:2d:0d:1e:f5:
24                     3f:be:9b:8d:de:b2:79:fe:6f:c7:17:4e:fd:20:48:
25                     44:77:d0:4e:33:3c:17:70:53:2e:4a:c2:f8:f5:65:
26                     e7:06:da:2d:c1:17:44:e4:57:ac:5b:c1:be:c8:f4:
27                     a2:ac:19:e0:2f:19:39:b8:7f
28                 Exponent: 65537 (0x10001)
29         X509v3 extensions:
30             X509v3 Key Usage: critical
31                 Digital Signature, Non Repudiation, Key Encipherment
32             X509v3 Certificate Policies: 
33                 Policy: 2.16.840.1.101.3.1.48.1
35             X509v3 Subject Key Identifier: 
36                 7F:99:92:8E:E3:61:B3:F8
37             X509v3 Authority Key Identifier: 
38                 keyid:E6:8E:40:9B:4F:4D:94:E6
40     Signature Algorithm: sha1WithRSAEncryption
41         2b:bc:1d:33:22:e5:21:9f:d0:b2:a8:f7:fc:0d:c6:6a:dd:1d:
42         e4:13:91:b4:54:d9:1f:45:5d:95:55:4e:58:dd:49:09:9c:6b:
43         9e:37:88:14:1f:76:34:dc:d4:44:e7:a6:c6:00:71:ce:77:ae:
44         58:d4:a5:62:57:29:4e:4d:b9:a4:06:ec:e9:13:1d:6d:3f:1d:
45         a2:f2:90:91:09:05:d9:35:de:43:ee:2a:92:d1:5a:2d:09:ed:
46         55:3f:14:b0:4c:c7:47:80:e2:c3:4f:e0:1f:cb:6c:78:6a:85:
47         17:b1:72:89:6f:27:8b:ac:c8:9d:23:be:7a:66:d4:2a:28:9b:
48         8f:d2
49 -----BEGIN CERTIFICATE-----
50 MIIChjCCAe+gAwIBAgIBAzANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQGEwJVUzEY
51 MBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb2QxEDAOBgNVBAsT
52 B1Rlc3RpbmcxFTATBgNVBAMTDENBMS1DUC4wMS4wMjAeFw05ODAxMDExMjAxMDBa
53 Fw00ODAxMDExMjAxMDBaMGAxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv
54 dmVybm1lbnQxDDAKBgNVBAsTA0RvRDEQMA4GA1UECxMHVGVzdGluZzEXMBUGA1UE
55 AxMOVXNlcjEtQ1AuMDEuMDIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALwJ
56 rZT6bJXQnZzc3socZ/mNsEag4BTdym99ZCP23PGsTCfV2z7+p4DehIFrn/N/a1d1
57 nvyqRqpQGPU86tl1CWgFtXS+zCctDR71P76bjd6yef5vxxdO/SBIRHfQTjM8F3BT
58 LkrC+PVl5wbaLcEXRORXrFvBvsj0oqwZ4C8ZObh/AgMBAAGjUjBQMA4GA1UdDwEB
59 /wQEAwIF4DAWBgNVHSAEDzANMAsGCWCGSAFlAwEwATARBgNVHQ4ECgQIf5mSjuNh
60 s/gwEwYDVR0jBAwwCoAI5o5Am09NlOYwDQYJKoZIhvcNAQEFBQADgYEAK7wdMyLl
61 IZ/Qsqj3/A3Gat0d5BORtFTZH0VdlVVOWN1JCZxrnjeIFB92NNzUROemxgBxzneu
62 WNSlYlcpTk25pAbs6RMdbT8dovKQkQkF2TXeQ+4qktFaLQntVT8UsEzHR4Diw0/g
63 H8tseGqFF7FyiW8ni6zInSO+embUKiibj9I=
64 -----END CERTIFICATE-----
65 Certificate:
66     Data:
67         Version: 3 (0x2)
68         Serial Number: 2 (0x2)
69         Signature Algorithm: sha1WithRSAEncryption
70         Issuer: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=Trust Anchor
71         Validity
72             Not Before: Jan  1 12:01:00 1998 GMT
73             Not After : Jan  1 12:01:00 2048 GMT
74         Subject: C=US, O=U.S. Government, OU=Dod, OU=Testing, CN=CA1-CP.01.02
75         Subject Public Key Info:
76             Public Key Algorithm: rsaEncryption
77             RSA Public Key: (1024 bit)
78                 Modulus (1024 bit):
79                     00:d6:39:9e:21:93:e2:ba:35:7f:e5:f8:e8:87:0b:
80                     8a:5f:28:25:85:b7:e5:cc:da:7f:d3:c7:09:2a:63:
81                     e9:ad:8f:d0:a8:ef:ba:cf:3c:fb:55:03:b9:83:29:
82                     4e:0e:89:84:fb:e2:62:16:1f:9d:87:40:16:6b:f8:
83                     f4:66:38:58:74:67:d4:b5:a1:3a:4b:6f:13:4b:08:
84                     37:3a:3a:64:0a:06:8e:a2:7b:14:88:b7:f8:ce:6a:
85                     d1:45:9b:39:93:67:bf:0a:ab:db:37:9d:fa:ce:54:
86                     0f:37:82:09:8f:0d:33:e4:b8:6e:46:c1:cc:4f:80:
87                     5a:b4:bd:19:80:27:40:84:49
88                 Exponent: 65537 (0x10001)
89         X509v3 extensions:
90             X509v3 Basic Constraints: critical
91                 CA:TRUE
92             X509v3 Key Usage: critical
93                 Certificate Sign, CRL Sign
94             X509v3 Certificate Policies: 
95                 Policy: 2.16.840.1.101.3.1.48.1
97             X509v3 Subject Key Identifier: 
98                 E6:8E:40:9B:4F:4D:94:E6
99             X509v3 Authority Key Identifier: 
100                 keyid:AB:9A:EB:F9:C2:E7:54:8F
102     Signature Algorithm: sha1WithRSAEncryption
103         dc:2e:d8:7b:9f:d3:7b:5e:0b:23:0a:3f:2c:ad:9f:9e:9a:1b:
104         6d:00:37:76:13:a7:e5:48:2a:67:c9:4a:6d:0f:c7:57:50:fc:
105         fd:e5:3d:74:ad:af:e6:05:b8:dd:7b:c5:ab:8c:21:2b:45:8a:
106         2c:1b:c1:15:c8:4a:b6:9f:53:d5:05:f7:08:8d:96:0a:a7:49:
107         47:2a:a5:6b:a4:e4:42:c4:b7:e9:3d:7b:ff:0c:36:9f:3c:b5:
108         f3:9d:d8:85:f0:d8:36:c8:1e:e5:75:bc:61:93:5f:36:38:d5:
109         c5:c4:77:46:7c:85:c4:f6:b1:d5:82:25:21:28:86:74:8d:1d:
110         9d:a8
111 -----BEGIN CERTIFICATE-----
112 MIIClTCCAf6gAwIBAgIBAjANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQGEwJVUzEY
113 MBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb0QxEDAOBgNVBAsT
114 B1Rlc3RpbmcxFTATBgNVBAMTDFRydXN0IEFuY2hvcjAeFw05ODAxMDExMjAxMDBa
115 Fw00ODAxMDExMjAxMDBaMF4xCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv
116 dmVybm1lbnQxDDAKBgNVBAsTA0RvZDEQMA4GA1UECxMHVGVzdGluZzEVMBMGA1UE
117 AxMMQ0ExLUNQLjAxLjAyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWOZ4h
118 k+K6NX/l+OiHC4pfKCWFt+XM2n/TxwkqY+mtj9Co77rPPPtVA7mDKU4OiYT74mIW
119 H52HQBZr+PRmOFh0Z9S1oTpLbxNLCDc6OmQKBo6iexSIt/jOatFFmzmTZ78Kq9s3
120 nfrOVA83ggmPDTPkuG5GwcxPgFq0vRmAJ0CESQIDAQABo2MwYTAPBgNVHRMBAf8E
121 BTADAQH/MA4GA1UdDwEB/wQEAwIBBjAWBgNVHSAEDzANMAsGCWCGSAFlAwEwATAR
122 BgNVHQ4ECgQI5o5Am09NlOYwEwYDVR0jBAwwCoAIq5rr+cLnVI8wDQYJKoZIhvcN
123 AQEFBQADgYEA3C7Ye5/Te14LIwo/LK2fnpobbQA3dhOn5UgqZ8lKbQ/HV1D8/eU9
124 dK2v5gW43XvFq4whK0WKLBvBFchKtp9T1QX3CI2WCqdJRyqla6TkQsS36T17/ww2
125 nzy1853YhfDYNsge5XW8YZNfNjjVxcR3RnyFxPax1YIlISiGdI0dnag=
126 -----END CERTIFICATE-----
127 Certificate:
128     Data:
129         Version: 3 (0x2)
130         Serial Number: 99999 (0x1869f)
131         Signature Algorithm: sha1WithRSAEncryption
132         Issuer: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=Trust Anchor
133         Validity
134             Not Before: Jan  1 12:01:00 1999 GMT
135             Not After : Jan  1 12:01:00 2048 GMT
136         Subject: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=Trust Anchor
137         Subject Public Key Info:
138             Public Key Algorithm: rsaEncryption
139             RSA Public Key: (1024 bit)
140                 Modulus (1024 bit):
141                     00:d3:f3:b9:c1:33:b7:3f:a7:27:f6:41:1d:5c:9c:
142                     79:9d:aa:d2:95:10:b7:84:ce:da:a3:e5:58:0c:3e:
143                     4e:8b:56:bf:3e:aa:21:2d:50:13:fe:f3:19:2e:7a:
144                     cb:11:cf:f3:d3:b8:5f:57:9f:9d:97:80:af:1d:95:
145                     57:12:df:34:d4:bd:f3:ae:4d:e7:7c:a6:20:d4:04:
146                     4e:da:63:61:3e:3d:2a:8d:37:cf:c5:3c:c9:f9:fa:
147                     f0:39:48:04:78:bd:b0:dd:f5:24:46:33:a1:46:9f:
148                     17:9f:04:bb:cf:37:94:0c:13:43:aa:90:ac:91:78:
149                     1d:ba:f3:18:84:2a:82:2b:47
150                 Exponent: 65537 (0x10001)
151         X509v3 extensions:
152             X509v3 Subject Key Identifier: 
153                 AB:9A:EB:F9:C2:E7:54:8F
154             X509v3 Basic Constraints: 
155                 CA:TRUE
156             X509v3 Authority Key Identifier: 
157                 keyid:AB:9A:EB:F9:C2:E7:54:8F
159     Signature Algorithm: sha1WithRSAEncryption
160         16:56:0f:61:ac:87:8b:4f:eb:64:12:1b:c3:85:59:4a:68:e1:
161         3b:a5:21:c1:59:2e:91:ac:68:fe:13:ff:63:6d:ee:55:d4:a0:
162         82:4c:37:bc:16:8e:a9:26:61:fe:7f:46:fa:38:1f:13:5c:8a:
163         6a:b7:12:47:98:72:b9:b5:56:80:ee:78:95:18:1a:f4:63:70:
164         26:39:9b:19:20:84:8d:bb:62:5f:df:2c:a1:3d:fc:1b:d0:3a:
165         bb:d8:cc:1b:36:12:a2:ab:ad:3e:e6:e1:52:b4:75:13:11:ec:
166         27:95:a6:63:cf:d3:cc:f4:4e:d8:ba:b8:ad:ad:cc:1a:65:a7:
167         5a:45
168 -----BEGIN CERTIFICATE-----
169 MIICbDCCAdWgAwIBAgIDAYafMA0GCSqGSIb3DQEBBQUAMF4xCzAJBgNVBAYTAlVT
170 MRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAKBgNVBAsTA0RvRDEQMA4GA1UE
171 CxMHVGVzdGluZzEVMBMGA1UEAxMMVHJ1c3QgQW5jaG9yMB4XDTk5MDEwMTEyMDEw
172 MFoXDTQ4MDEwMTEyMDEwMFowXjELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4g
173 R292ZXJubWVudDEMMAoGA1UECxMDRG9EMRAwDgYDVQQLEwdUZXN0aW5nMRUwEwYD
174 VQQDEwxUcnVzdCBBbmNob3IwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANPz
175 ucEztz+nJ/ZBHVyceZ2q0pUQt4TO2qPlWAw+TotWvz6qIS1QE/7zGS56yxHP89O4
176 X1efnZeArx2VVxLfNNS9865N53ymINQETtpjYT49Ko03z8U8yfn68DlIBHi9sN31
177 JEYzoUafF58Eu883lAwTQ6qQrJF4HbrzGIQqgitHAgMBAAGjODA2MBEGA1UdDgQK
178 BAirmuv5wudUjzAMBgNVHRMEBTADAQH/MBMGA1UdIwQMMAqACKua6/nC51SPMA0G
179 CSqGSIb3DQEBBQUAA4GBABZWD2Gsh4tP62QSG8OFWUpo4TulIcFZLpGsaP4T/2Nt
180 7lXUoIJMN7wWjqkmYf5/Rvo4HxNcimq3EkeYcrm1VoDueJUYGvRjcCY5mxkghI27
181 Yl/fLKE9/BvQOrvYzBs2EqKrrT7m4VK0dRMR7CeVpmPP08z0Tti6uK2tzBplp1pF
182 -----END CERTIFICATE-----