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

Side by Side Diff: net/data/parse_certificate_unittest/extensions_key_usage.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= 16 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
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
7 -----BEGIN EXTENSIONS-----
8 MBAwDgYDVR0PAQH/BAQDAgWg
9 -----END EXTENSIONS-----
10
11 $ openssl asn1parse -i < [KEY USAGE]
12 0:d=0 hl=2 l= 2 prim: BIT STRING
13 -----BEGIN KEY USAGE-----
14 AwIFoA==
15 -----END KEY USAGE-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698