Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5189)

Issue 47920044: Decode certificate policies

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by ekasper
Modified:
10 years, 3 months ago
CC:
ctlog-opensource-review_google.com
Visibility:
Public.

Description

Decode certificate policies

Patch Set 1 #

Patch Set 2 : add test certs #

Total comments: 10

Patch Set 3 : Add test for multiple policies #

Total comments: 1

Patch Set 4 : simplify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+406 lines, -5 lines) Patch
M src/python/ct/crypto/asn1/oid.py View 2 chunks +9 lines, -1 line 0 comments Download
M src/python/ct/crypto/asn1/types.py View 1 chunk +6 lines, -0 lines 0 comments Download
M src/python/ct/crypto/asn1/x509_extension.py View 1 2 3 chunks +77 lines, -4 lines 0 comments Download
M src/python/ct/crypto/cert.py View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M src/python/ct/crypto/cert_test.py View 1 2 2 chunks +61 lines, -0 lines 0 comments Download
A src/python/ct/crypto/testdata/ev_chain.pem View 1 1 chunk +97 lines, -0 lines 0 comments Download
A src/python/ct/crypto/testdata/multiple_policies.pem View 1 2 1 chunk +107 lines, -0 lines 0 comments Download

Messages

Total messages: 4
ekasper
Policies are used to check EV, see https://code.google.com/p/chromium/codesearch#chromium/src/net/cert/ev_root_ca_metadata.cc
10 years, 4 months ago (2014-01-07 14:50:58 UTC) #1
Ben Laurie (Google)
https://codereview.appspot.com/47920044/diff/20001/src/python/ct/crypto/asn1/x509_extension.py File src/python/ct/crypto/asn1/x509_extension.py (right): https://codereview.appspot.com/47920044/diff/20001/src/python/ct/crypto/asn1/x509_extension.py#newcode82 src/python/ct/crypto/asn1/x509_extension.py:82: class NoticeNumbers(types.SequenceOf): Where do these things come from? Might ...
10 years, 4 months ago (2014-01-07 16:48:52 UTC) #2
ekasper
https://codereview.appspot.com/47920044/diff/20001/src/python/ct/crypto/asn1/x509_extension.py File src/python/ct/crypto/asn1/x509_extension.py (right): https://codereview.appspot.com/47920044/diff/20001/src/python/ct/crypto/asn1/x509_extension.py#newcode82 src/python/ct/crypto/asn1/x509_extension.py:82: class NoticeNumbers(types.SequenceOf): On 2014/01/07 16:48:52, Ben Laurie (Google) wrote: ...
10 years, 4 months ago (2014-01-07 17:25:15 UTC) #3
Ben Laurie (Google)
10 years, 4 months ago (2014-01-07 18:07:26 UTC) #4
LGTM.

https://codereview.appspot.com/47920044/diff/40001/src/python/ct/crypto/cert.py
File src/python/ct/crypto/cert.py (right):

https://codereview.appspot.com/47920044/diff/40001/src/python/ct/crypto/cert....
src/python/ct/crypto/cert.py:591: return True if self.policy(policy_oid) is not
None else False
return self.policy(policy_oid) is not None?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b