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

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

Issue 1658693006: Normalize the PEM format used in some certificate test data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
1 $ openssl asn1parse -i < [EXTENSIONS] 1 $ openssl asn1parse -i < [EXTENSIONS]
2 0:d=0 hl=2 l= 14 cons: SEQUENCE 2 0:d=0 hl=2 l= 14 cons: SEQUENCE
3 2:d=1 hl=2 l= 12 cons: SEQUENCE 3 2:d=1 hl=2 l= 12 cons: SEQUENCE
4 4:d=2 hl=2 l= 3 prim: OBJECT :X509v3 Basic Constraints 4 4:d=2 hl=2 l= 3 prim: OBJECT :X509v3 Basic Constraints
5 9:d=2 hl=2 l= 1 prim: BOOLEAN :255 5 9:d=2 hl=2 l= 1 prim: BOOLEAN :255
6 12:d=2 hl=2 l= 2 prim: OCTET STRING [HEX DUMP]:3000 6 12:d=2 hl=2 l= 2 prim: OCTET STRING [HEX DUMP]:3000
7 -----BEGIN EXTENSIONS----- 7 -----BEGIN EXTENSIONS-----
8 MA4wDAYDVR0TAQH/BAIwAA== 8 MA4wDAYDVR0TAQH/BAIwAA==
9 -----END EXTENSIONS----- 9 -----END EXTENSIONS-----
10 10
11 $ openssl asn1parse -i < [BASIC CONSTRAINTS] 11 $ openssl asn1parse -i < [BASIC CONSTRAINTS]
12 0:d=0 hl=2 l= 0 cons: SEQUENCE 12 0:d=0 hl=2 l= 0 cons: SEQUENCE
13 -----BEGIN BASIC CONSTRAINTS----- 13 -----BEGIN BASIC CONSTRAINTS-----
14 MAA= 14 MAA=
15 -----END BASIC CONSTRAINTS----- 15 -----END BASIC CONSTRAINTS-----
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698