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

Side by Side Diff: net/data/parse_certificate_unittest/extensions_key_usage.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= 16 cons: SEQUENCE 2 0:d=0 hl=2 l= 16 cons: SEQUENCE
3 2:d=1 hl=2 l= 14 cons: SEQUENCE 3 2:d=1 hl=2 l= 14 cons: SEQUENCE
4 4:d=2 hl=2 l= 3 prim: OBJECT :X509v3 Key Usage 4 4:d=2 hl=2 l= 3 prim: OBJECT :X509v3 Key Usage
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= 4 prim: OCTET STRING [HEX DUMP]:030205A0 6 12:d=2 hl=2 l= 4 prim: OCTET STRING [HEX DUMP]:030205A0
7 -----BEGIN EXTENSIONS----- 7 -----BEGIN EXTENSIONS-----
8 MBAwDgYDVR0PAQH/BAQDAgWg 8 MBAwDgYDVR0PAQH/BAQDAgWg
9 -----END EXTENSIONS----- 9 -----END EXTENSIONS-----
10 10
11 $ openssl asn1parse -i < [KEY USAGE] 11 $ openssl asn1parse -i < [KEY USAGE]
12 0:d=0 hl=2 l= 2 prim: BIT STRING 12 0:d=0 hl=2 l= 2 prim: BIT STRING
13 -----BEGIN KEY USAGE----- 13 -----BEGIN KEY USAGE-----
14 AwIFoA== 14 AwIFoA==
15 -----END KEY USAGE----- 15 -----END KEY USAGE-----
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698