| OLD | NEW |
| 1 This directory, tests/standalone/io/certificates, contains the | 1 This directory, tests/standalone/io/certificates, contains the |
| 2 X509 TLS certificates and private keys needed to run tests of Dart's | 2 X509 TLS certificates and private keys needed to run tests of Dart's |
| 3 secure networking code. The SecureSocket and SecureServer classes | 3 secure networking code. The SecureSocket and SecureServer classes |
| 4 are tested by making TLS (formerly called SSL) connections, secured | 4 are tested by making TLS (formerly called SSL) connections, secured |
| 5 by certificates created by the create_test_certificates script in | 5 by certificates from a self-signed test root authority. |
| 6 the parent directory, and copied into this directory. | |
| 7 | 6 |
| 8 server_chain.pem: | 7 server_chain.pem: |
| 9 Contains the chain of certificates, from the self-signed | 8 Contains the chain of certificates, from the self-signed |
| 10 test certificate authority, through the intermediate CA, to the server | 9 test certificate authority, through the intermediate CA, to the server |
| 11 certificate, used on the server side of a test connection. | 10 certificate, used on the server side of a test connection. |
| 12 | 11 |
| 13 server_key.pem: | 12 server_key.pem: |
| 14 Contains the private key for the server certificate | 13 Contains the private key for the server certificate |
| 15 | 14 |
| 16 trusted_certs.pem: | 15 trusted_certs.pem: |
| 17 Contains the self-signed certificate of the test certificate authority. | 16 Contains the self-signed certificate of the test certificate authority. |
| 18 This certificate is set as "trusted" by the client side of the connection | 17 This certificate is set as "trusted" by the client side of the connection |
| 19 in its SecurityContext object, so that a verified TLS connection to the | 18 in its SecurityContext object, so that a verified TLS connection to the |
| 20 server can be made. | 19 server can be made. |
| 21 | 20 |
| 22 untrusted_server_chain.pem: | 21 untrusted_server_chain.pem: |
| 23 Contains a chain of certificates, from a different self-signed | 22 Contains a chain of certificates, from a different self-signed |
| 24 test certificate authority, through an intermediate CA, to a server | 23 test certificate authority, through an intermediate CA, to a server |
| 25 certificate, used on the server side of a test connection that is intended | 24 certificate, used on the server side of a test connection that is intended |
| 26 to fail because the client does not accept this certificate authority | 25 to fail because the client does not accept this certificate authority |
| 27 | 26 |
| 28 untrusted_server_key.pem: | 27 untrusted_server_key.pem: |
| 29 Contains the private key for the untrusted server certificate | 28 Contains the private key for the untrusted server certificate |
| 30 in untrusted_server_chain.pem | 29 in untrusted_server_chain.pem |
| 31 | 30 |
| OLD | NEW |