Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: net/data/parse_certificate_unittest/extensions_policies.pem

Issue 2361233002: Convert tests that parse an Extensions sequence to instead (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 $ openssl asn1parse -i < [EXTENSIONS]
2 0:d=0 hl=2 l= 104 cons: SEQUENCE
3 2:d=1 hl=2 l= 102 cons: SEQUENCE
4 4:d=2 hl=2 l= 3 prim: OBJECT :X509v3 Certificate Policies
5 9:d=2 hl=2 l= 95 prim: OCTET STRING [HEX DUMP]:305D304D060A2A83088C 9C1E01020201303F303D06082B06010505070201163168747470733A2F2F7265706F312E7365636F 6D74727573742E6E65742F73706370702F6370732F696E6465782E68746D6C300C060A2A83088C9B 1B64870501
6 -----BEGIN EXTENSIONS-----
7 MGgwZgYDVR0gBF8wXTBNBgoqgwiMnB4BAgIBMD8wPQYIKwYBBQUHAgEWMWh0dHBzOi8vcmVwbzE
8 uc2Vjb210cnVzdC5uZXQvc3BjcHAvY3BzL2luZGV4Lmh0bWwwDAYKKoMIjJsbZIcFAQ==
9 -----END EXTENSIONS-----
10
11 $ openssl asn1parse -i < [POLICIES]
12 0:d=0 hl=2 l= 93 cons: SEQUENCE
13 2:d=1 hl=2 l= 77 cons: SEQUENCE
14 4:d=2 hl=2 l= 10 prim: OBJECT :1.2.392.200222.1.2.2.1
15 16:d=2 hl=2 l= 63 cons: SEQUENCE
16 18:d=3 hl=2 l= 61 cons: SEQUENCE
17 20:d=4 hl=2 l= 8 prim: OBJECT :Policy Qualifier CPS
18 30:d=4 hl=2 l= 49 prim: IA5STRING :https://repo1.secomtrust.net /spcpp/cps/index.html
19 81:d=1 hl=2 l= 12 cons: SEQUENCE
20 83:d=2 hl=2 l= 10 prim: OBJECT :1.2.392.200091.100.901.1
21 -----BEGIN POLICIES-----
22 MF0wTQYKKoMIjJweAQICATA/MD0GCCsGAQUFBwIBFjFodHRwczovL3JlcG8xLnNlY29tdHJ1c3Q
23 ubmV0L3NwY3BwL2Nwcy9pbmRleC5odG1sMAwGCiqDCIybG2SHBQE=
24 -----END POLICIES-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698