summaryrefslogtreecommitdiffstats
path: root/net/test
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-26 07:39:37 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-26 07:39:37 +0000
commit25bf196e21b72ab46bdf5d4dbf129d207ae5bc92 (patch)
tree7e73df6bd1c903b069993714c678b7b64c56d0e1 /net/test
parentbba8e31f390b9e408d07920803a202d6659e3664 (diff)
downloadchromium_src-25bf196e21b72ab46bdf5d4dbf129d207ae5bc92.zip
chromium_src-25bf196e21b72ab46bdf5d4dbf129d207ae5bc92.tar.gz
chromium_src-25bf196e21b72ab46bdf5d4dbf129d207ae5bc92.tar.bz2
Add script for generating certificates that require an explicit policy
Add a script and update the certificates used for testing a certificate chain that requires an explicit policy, but where verification is attempted with no policy specified. BUG=111742 R=wtc Review URL: https://chromiumcodereview.appspot.com/18223006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r--net/test/test_certificate_data.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/net/test/test_certificate_data.h b/net/test/test_certificate_data.h
index c9e29d4..3ccda5e 100644
--- a/net/test/test_certificate_data.h
+++ b/net/test/test_certificate_data.h
@@ -783,68 +783,4 @@ const uint8 VARIABLE_IS_NOT_USED MITDN[] = {
0x76, 0x31
};
-// 31:d=2 hl=2 l= 91 cons: SEQUENCE
-// 33:d=3 hl=2 l= 11 cons: SET
-// 35:d=4 hl=2 l= 9 cons: SEQUENCE
-// 37:d=5 hl=2 l= 3 prim: OBJECT :countryName
-// 42:d=5 hl=2 l= 2 prim: PRINTABLESTRING :US
-// 46:d=3 hl=2 l= 24 cons: SET
-// 48:d=4 hl=2 l= 22 cons: SEQUENCE
-// 50:d=5 hl=2 l= 3 prim: OBJECT :organizationName
-// 55:d=5 hl=2 l= 15 prim: PRINTABLESTRING :U.S. Government
-// 72:d=3 hl=2 l= 12 cons: SET
-// 74:d=4 hl=2 l= 10 cons: SEQUENCE
-// 76:d=5 hl=2 l= 3 prim: OBJECT :organizationalUnitName
-// 81:d=5 hl=2 l= 3 prim: PRINTABLESTRING :DoD
-// 86:d=3 hl=2 l= 12 cons: SET
-// 88:d=4 hl=2 l= 10 cons: SEQUENCE
-// 90:d=5 hl=2 l= 3 prim: OBJECT :organizationalUnitName
-// 95:d=5 hl=2 l= 3 prim: PRINTABLESTRING :PKI
-// 100:d=3 hl=2 l= 22 cons: SET
-// 102:d=4 hl=2 l= 20 cons: SEQUENCE
-// 104:d=5 hl=2 l= 3 prim: OBJECT :commonName
-// 109:d=5 hl=2 l= 13 prim: PRINTABLESTRING :DoD Root CA 2
-const uint8 VARIABLE_IS_NOT_USED DodRootCA2DN[] = {
- 0x30, 0x5b, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,
- 0x02, 0x55, 0x53, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x0a,
- 0x13, 0x0f, 0x55, 0x2e, 0x53, 0x2e, 0x20, 0x47, 0x6f, 0x76, 0x65, 0x72,
- 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x31, 0x0c, 0x30, 0x0a, 0x06, 0x03, 0x55,
- 0x04, 0x0b, 0x13, 0x03, 0x44, 0x6f, 0x44, 0x31, 0x0c, 0x30, 0x0a, 0x06,
- 0x03, 0x55, 0x04, 0x0b, 0x13, 0x03, 0x50, 0x4b, 0x49, 0x31, 0x16, 0x30,
- 0x14, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x0d, 0x44, 0x6f, 0x44, 0x20,
- 0x52, 0x6f, 0x6f, 0x74, 0x20, 0x43, 0x41, 0x20, 0x32
-};
-
-// 33:d=2 hl=2 l= 87 cons: SEQUENCE
-// 35:d=3 hl=2 l= 11 cons: SET
-// 37:d=4 hl=2 l= 9 cons: SEQUENCE
-// 39:d=5 hl=2 l= 3 prim: OBJECT :countryName
-// 44:d=5 hl=2 l= 2 prim: PRINTABLESTRING :US
-// 48:d=3 hl=2 l= 24 cons: SET
-// 50:d=4 hl=2 l= 22 cons: SEQUENCE
-// 52:d=5 hl=2 l= 3 prim: OBJECT :organizationName
-// 57:d=5 hl=2 l= 15 prim: PRINTABLESTRING :U.S. Government
-// 74:d=3 hl=2 l= 12 cons: SET
-// 76:d=4 hl=2 l= 10 cons: SEQUENCE
-// 78:d=5 hl=2 l= 3 prim: OBJECT :organizationalUnitName
-// 83:d=5 hl=2 l= 3 prim: PRINTABLESTRING :DoD
-// 88:d=3 hl=2 l= 12 cons: SET
-// 90:d=4 hl=2 l= 10 cons: SEQUENCE
-// 92:d=5 hl=2 l= 3 prim: OBJECT :organizationalUnitName
-// 97:d=5 hl=2 l= 3 prim: PRINTABLESTRING :PKI
-// 102:d=3 hl=2 l= 18 cons: SET
-// 104:d=4 hl=2 l= 16 cons: SEQUENCE
-// 106:d=5 hl=2 l= 3 prim: OBJECT :commonName
-// 111:d=5 hl=2 l= 9 prim: PRINTABLESTRING :DOD CA-17
-const uint8 VARIABLE_IS_NOT_USED DodCA17DN[] = {
- 0x30, 0x57, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,
- 0x02, 0x55, 0x53, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x0a,
- 0x13, 0x0f, 0x55, 0x2e, 0x53, 0x2e, 0x20, 0x47, 0x6f, 0x76, 0x65, 0x72,
- 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x31, 0x0c, 0x30, 0x0a, 0x06, 0x03, 0x55,
- 0x04, 0x0b, 0x13, 0x03, 0x44, 0x6f, 0x44, 0x31, 0x0c, 0x30, 0x0a, 0x06,
- 0x03, 0x55, 0x04, 0x0b, 0x13, 0x03, 0x50, 0x4b, 0x49, 0x31, 0x12, 0x30,
- 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x09, 0x44, 0x4f, 0x44, 0x20,
- 0x43, 0x41, 0x2d, 0x31, 0x37
-};
-
} // namespace