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

Side by Side Diff: net/data/parse_certificate_unittest/extensions_extended_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= 54 cons: SEQUENCE
3 2:d=1 hl=2 l= 52 cons: SEQUENCE
4 4:d=2 hl=2 l= 3 prim: OBJECT :X509v3 Extended Key Usage
5 9:d=2 hl=2 l= 45 prim: OCTET STRING [HEX DUMP]:302B06082B0601050507 030106082B06010505070302060A2B0601040182370A030306096086480186F8420401
6 -----BEGIN EXTENSIONS-----
7 MDYwNAYDVR0lBC0wKwYIKwYBBQUHAwEGCCsGAQUFBwMCBgorBgEEAYI3CgMDBglghkgBhvhCBAE
8 =
9 -----END EXTENSIONS-----
10
11 $ openssl asn1parse -i < [EXTENDED KEY USAGE]
12 0:d=0 hl=2 l= 43 cons: SEQUENCE
13 2:d=1 hl=2 l= 8 prim: OBJECT :TLS Web Server Authentication
14 12:d=1 hl=2 l= 8 prim: OBJECT :TLS Web Client Authentication
15 22:d=1 hl=2 l= 10 prim: OBJECT :Microsoft Server Gated Crypto
16 34:d=1 hl=2 l= 9 prim: OBJECT :Netscape Server Gated Crypto
17 -----BEGIN EXTENDED KEY USAGE-----
18 MCsGCCsGAQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNwoDAwYJYIZIAYb4QgQB
19 -----END EXTENDED KEY USAGE-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698