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

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

Issue 1383873002: Add a function for parsing an RFC 5280 Extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix U-A-F in tests Created 5 years, 1 month 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
« no previous file with comments | « net/data/parse_certificate_unittest/extension_critical_3.pem ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This is a modified basic constraints extension, where the critical field was
2 removed (in other words, FALSE).
3
4
5 $ openssl asn1parse -i < [EXTENSION]
6 0:d=0 hl=2 l= 9 cons: SEQUENCE
7 2:d=1 hl=2 l= 3 prim: OBJECT :X509v3 Basic Constraints
8 7:d=1 hl=2 l= 2 prim: OCTET STRING [HEX DUMP]:3000
9
10 -----BEGIN EXTENSION-----
11 MAkGA1UdEwQCMAA=
12 -----END EXTENSION-----
OLDNEW
« no previous file with comments | « net/data/parse_certificate_unittest/extension_critical_3.pem ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698