OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 namespace { | 5 namespace { |
6 | 6 |
7 // This is the SHA1 hash of the SubjectPublicKeyInfo of nist.der. | 7 // This is the SHA1 hash of the SubjectPublicKeyInfo of nist.der. |
8 static const char kNistSPKIHash[] = | 8 static const char kNistSPKIHash[] = |
9 "\x15\x60\xde\x65\x4e\x03\x9f\xd0\x08\x82" | 9 "\x15\x60\xde\x65\x4e\x03\x9f\xd0\x08\x82" |
10 "\xa9\x6a\xc4\x65\x8e\x6f\x92\x06\x84\x35"; | 10 "\xa9\x6a\xc4\x65\x8e\x6f\x92\x06\x84\x35"; |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 0x13, 0x0D, 0x4D, 0x61, 0x73, 0x73, 0x61, 0x63, 0x68, 0x75, 0x73, 0x65, | 776 0x13, 0x0D, 0x4D, 0x61, 0x73, 0x73, 0x61, 0x63, 0x68, 0x75, 0x73, 0x65, |
777 0x74, 0x74, 0x73, 0x31, 0x2E, 0x30, 0x2C, 0x06, 0x03, 0x55, 0x04, 0x0A, | 777 0x74, 0x74, 0x73, 0x31, 0x2E, 0x30, 0x2C, 0x06, 0x03, 0x55, 0x04, 0x0A, |
778 0x13, 0x25, 0x4D, 0x61, 0x73, 0x73, 0x61, 0x63, 0x68, 0x75, 0x73, 0x65, | 778 0x13, 0x25, 0x4D, 0x61, 0x73, 0x73, 0x61, 0x63, 0x68, 0x75, 0x73, 0x65, |
779 0x74, 0x74, 0x73, 0x20, 0x49, 0x6E, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, | 779 0x74, 0x74, 0x73, 0x20, 0x49, 0x6E, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, |
780 0x65, 0x20, 0x6F, 0x66, 0x20, 0x54, 0x65, 0x63, 0x68, 0x6E, 0x6F, 0x6C, | 780 0x65, 0x20, 0x6F, 0x66, 0x20, 0x54, 0x65, 0x63, 0x68, 0x6E, 0x6F, 0x6C, |
781 0x6F, 0x67, 0x79, 0x31, 0x15, 0x30, 0x13, 0x06, 0x03, 0x55, 0x04, 0x0B, | 781 0x6F, 0x67, 0x79, 0x31, 0x15, 0x30, 0x13, 0x06, 0x03, 0x55, 0x04, 0x0B, |
782 0x13, 0x0C, 0x43, 0x6C, 0x69, 0x65, 0x6E, 0x74, 0x20, 0x43, 0x41, 0x20, | 782 0x13, 0x0C, 0x43, 0x6C, 0x69, 0x65, 0x6E, 0x74, 0x20, 0x43, 0x41, 0x20, |
783 0x76, 0x31 | 783 0x76, 0x31 |
784 }; | 784 }; |
785 | 785 |
786 // 31:d=2 hl=2 l= 91 cons: SEQUENCE | |
787 // 33:d=3 hl=2 l= 11 cons: SET | |
788 // 35:d=4 hl=2 l= 9 cons: SEQUENCE | |
789 // 37:d=5 hl=2 l= 3 prim: OBJECT :countryName | |
790 // 42:d=5 hl=2 l= 2 prim: PRINTABLESTRING :US | |
791 // 46:d=3 hl=2 l= 24 cons: SET | |
792 // 48:d=4 hl=2 l= 22 cons: SEQUENCE | |
793 // 50:d=5 hl=2 l= 3 prim: OBJECT :organizationName | |
794 // 55:d=5 hl=2 l= 15 prim: PRINTABLESTRING :U.S. Government | |
795 // 72:d=3 hl=2 l= 12 cons: SET | |
796 // 74:d=4 hl=2 l= 10 cons: SEQUENCE | |
797 // 76:d=5 hl=2 l= 3 prim: OBJECT :organizationalUnitName | |
798 // 81:d=5 hl=2 l= 3 prim: PRINTABLESTRING :DoD | |
799 // 86:d=3 hl=2 l= 12 cons: SET | |
800 // 88:d=4 hl=2 l= 10 cons: SEQUENCE | |
801 // 90:d=5 hl=2 l= 3 prim: OBJECT :organizationalUnitName | |
802 // 95:d=5 hl=2 l= 3 prim: PRINTABLESTRING :PKI | |
803 // 100:d=3 hl=2 l= 22 cons: SET | |
804 // 102:d=4 hl=2 l= 20 cons: SEQUENCE | |
805 // 104:d=5 hl=2 l= 3 prim: OBJECT :commonName | |
806 // 109:d=5 hl=2 l= 13 prim: PRINTABLESTRING :DoD Root CA 2 | |
807 const uint8 VARIABLE_IS_NOT_USED DodRootCA2DN[] = { | |
808 0x30, 0x5b, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, | |
809 0x02, 0x55, 0x53, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x0a, | |
810 0x13, 0x0f, 0x55, 0x2e, 0x53, 0x2e, 0x20, 0x47, 0x6f, 0x76, 0x65, 0x72, | |
811 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x31, 0x0c, 0x30, 0x0a, 0x06, 0x03, 0x55, | |
812 0x04, 0x0b, 0x13, 0x03, 0x44, 0x6f, 0x44, 0x31, 0x0c, 0x30, 0x0a, 0x06, | |
813 0x03, 0x55, 0x04, 0x0b, 0x13, 0x03, 0x50, 0x4b, 0x49, 0x31, 0x16, 0x30, | |
814 0x14, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x0d, 0x44, 0x6f, 0x44, 0x20, | |
815 0x52, 0x6f, 0x6f, 0x74, 0x20, 0x43, 0x41, 0x20, 0x32 | |
816 }; | |
817 | |
818 // 33:d=2 hl=2 l= 87 cons: SEQUENCE | |
819 // 35:d=3 hl=2 l= 11 cons: SET | |
820 // 37:d=4 hl=2 l= 9 cons: SEQUENCE | |
821 // 39:d=5 hl=2 l= 3 prim: OBJECT :countryName | |
822 // 44:d=5 hl=2 l= 2 prim: PRINTABLESTRING :US | |
823 // 48:d=3 hl=2 l= 24 cons: SET | |
824 // 50:d=4 hl=2 l= 22 cons: SEQUENCE | |
825 // 52:d=5 hl=2 l= 3 prim: OBJECT :organizationName | |
826 // 57:d=5 hl=2 l= 15 prim: PRINTABLESTRING :U.S. Government | |
827 // 74:d=3 hl=2 l= 12 cons: SET | |
828 // 76:d=4 hl=2 l= 10 cons: SEQUENCE | |
829 // 78:d=5 hl=2 l= 3 prim: OBJECT :organizationalUnitName | |
830 // 83:d=5 hl=2 l= 3 prim: PRINTABLESTRING :DoD | |
831 // 88:d=3 hl=2 l= 12 cons: SET | |
832 // 90:d=4 hl=2 l= 10 cons: SEQUENCE | |
833 // 92:d=5 hl=2 l= 3 prim: OBJECT :organizationalUnitName | |
834 // 97:d=5 hl=2 l= 3 prim: PRINTABLESTRING :PKI | |
835 // 102:d=3 hl=2 l= 18 cons: SET | |
836 // 104:d=4 hl=2 l= 16 cons: SEQUENCE | |
837 // 106:d=5 hl=2 l= 3 prim: OBJECT :commonName | |
838 // 111:d=5 hl=2 l= 9 prim: PRINTABLESTRING :DOD CA-17 | |
839 const uint8 VARIABLE_IS_NOT_USED DodCA17DN[] = { | |
840 0x30, 0x57, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, | |
841 0x02, 0x55, 0x53, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x0a, | |
842 0x13, 0x0f, 0x55, 0x2e, 0x53, 0x2e, 0x20, 0x47, 0x6f, 0x76, 0x65, 0x72, | |
843 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x31, 0x0c, 0x30, 0x0a, 0x06, 0x03, 0x55, | |
844 0x04, 0x0b, 0x13, 0x03, 0x44, 0x6f, 0x44, 0x31, 0x0c, 0x30, 0x0a, 0x06, | |
845 0x03, 0x55, 0x04, 0x0b, 0x13, 0x03, 0x50, 0x4b, 0x49, 0x31, 0x12, 0x30, | |
846 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x09, 0x44, 0x4f, 0x44, 0x20, | |
847 0x43, 0x41, 0x2d, 0x31, 0x37 | |
848 }; | |
849 | |
850 } // namespace | 786 } // namespace |
OLD | NEW |