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

Side by Side Diff: net/data/parse_certificate_unittest/extensions_subject_alt_name.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= 32 cons: SEQUENCE 2 0:d=0 hl=2 l= 32 cons: SEQUENCE
3 2:d=1 hl=2 l= 30 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 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 5 9:d=2 hl=2 l= 23 prim: OCTET STRING [HEX DUMP]:30158213656D65726765 6E6379737570706F72742E7573
6 -----BEGIN EXTENSIONS----- 6 -----BEGIN EXTENSIONS-----
7 MCAwHgYDVR0RBBcwFYITZW1lcmdlbmN5c3VwcG9ydC51cw== 7 MCAwHgYDVR0RBBcwFYITZW1lcmdlbmN5c3VwcG9ydC51cw==
8 -----END EXTENSIONS----- 8 -----END EXTENSIONS-----
9 9
10 $ openssl asn1parse -i < [SUBJECT ALT NAME] 10 $ openssl asn1parse -i < [SUBJECT ALT NAME]
11 0:d=0 hl=2 l= 21 cons: SEQUENCE 11 0:d=0 hl=2 l= 21 cons: SEQUENCE
12 2:d=1 hl=2 l= 19 prim: cont [ 2 ] 12 2:d=1 hl=2 l= 19 prim: cont [ 2 ]
13 -----BEGIN SUBJECT ALT NAME----- 13 -----BEGIN SUBJECT ALT NAME-----
14 MBWCE2VtZXJnZW5jeXN1cHBvcnQudXM= 14 MBWCE2VtZXJnZW5jeXN1cHBvcnQudXM=
15 -----END SUBJECT ALT NAME----- 15 -----END SUBJECT ALT NAME-----
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698