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

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

Issue 2361233002: Convert tests that parse an Extensions sequence to instead (Closed)
Patch Set: rebase Created 4 years, 3 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= 32 cons: SEQUENCE
3 2:d=1 hl=2 l= 30 cons: SEQUENCE
4 4:d=2 hl=2 l= 3 prim: OBJECT :X509v3 Subject Alternative Nam e
5 9:d=2 hl=2 l= 23 prim: OCTET STRING [HEX DUMP]:30158213656D65726765 6E6379737570706F72742E7573
6 -----BEGIN EXTENSIONS-----
7 MCAwHgYDVR0RBBcwFYITZW1lcmdlbmN5c3VwcG9ydC51cw==
8 -----END EXTENSIONS-----
9
10 $ openssl asn1parse -i < [SUBJECT ALT NAME]
11 0:d=0 hl=2 l= 21 cons: SEQUENCE
12 2:d=1 hl=2 l= 19 prim: cont [ 2 ]
13 -----BEGIN SUBJECT ALT NAME-----
14 MBWCE2VtZXJnZW5jeXN1cHBvcnQudXM=
15 -----END SUBJECT ALT NAME-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698