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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/parse_certificate_unittest/extension_not_critical.pem
diff --git a/net/data/parse_certificate_unittest/extension_not_critical.pem b/net/data/parse_certificate_unittest/extension_not_critical.pem
new file mode 100644
index 0000000000000000000000000000000000000000..0c845353a4fb5209bb6b608671b8be130600fc35
--- /dev/null
+++ b/net/data/parse_certificate_unittest/extension_not_critical.pem
@@ -0,0 +1,12 @@
+This is a modified basic constraints extension, where the critical field was
+removed (in other words, FALSE).
+
+
+$ openssl asn1parse -i < [EXTENSION]
+ 0:d=0 hl=2 l= 9 cons: SEQUENCE
+ 2:d=1 hl=2 l= 3 prim: OBJECT :X509v3 Basic Constraints
+ 7:d=1 hl=2 l= 2 prim: OCTET STRING [HEX DUMP]:3000
+
+-----BEGIN EXTENSION-----
+MAkGA1UdEwQCMAA=
+-----END EXTENSION-----
« 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