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

Issue 4485045: code review 4485045: crypto/x509/crl: add package (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by agl1
Modified:
14 years ago
Reviewers:
CC:
bradfitz, golang-dev
Visibility:
Public.

Description

crypto/x509/crl: add package crl parses CRLs and exposes their details. In the future, Verify should be able to use this for revocation checking.

Patch Set 1 #

Patch Set 2 : diff -r 62e4846d10de https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 62e4846d10de https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 62e4846d10de https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 5 : diff -r 3556fc4657a3 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 6086d38df203 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -7 lines) Patch
M src/pkg/Makefile View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/crypto/x509/crl/Makefile View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
A src/pkg/crypto/x509/crl/crl.go View 1 2 3 4 1 chunk +96 lines, -0 lines 0 comments Download
A src/pkg/crypto/x509/crl/crl_test.go View 1 1 chunk +63 lines, -0 lines 0 comments Download
M src/pkg/crypto/x509/x509.go View 1 2 chunks +28 lines, -7 lines 0 comments Download

Messages

Total messages: 3
agl1
Hello bradfitz (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years ago (2011-05-05 17:51:07 UTC) #1
bradfitz
http://codereview.appspot.com/4485045/diff/2013/src/pkg/crypto/x509/crl/crl.go File src/pkg/crypto/x509/crl/crl.go (right): http://codereview.appspot.com/4485045/diff/2013/src/pkg/crypto/x509/crl/crl.go#newcode27 src/pkg/crypto/x509/crl/crl.go:27: func (certList *CertificateList) HasExpired(currentTime int64) bool { until Go ...
14 years ago (2011-05-07 22:02:56 UTC) #2
agl1
14 years ago (2011-05-11 14:39:49 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=5581570506e5 ***

crypto/x509/crl: add package

crl parses CRLs and exposes their details. In the future, Verify
should be able to use this for revocation checking.

R=bradfitz
CC=golang-dev
http://codereview.appspot.com/4485045

http://codereview.appspot.com/4485045/diff/2013/src/pkg/crypto/x509/crl/crl.go
File src/pkg/crypto/x509/crl/crl.go (right):

http://codereview.appspot.com/4485045/diff/2013/src/pkg/crypto/x509/crl/crl.g...
src/pkg/crypto/x509/crl/crl.go:27: func (certList *CertificateList)
HasExpired(currentTime int64) bool {
On 2011/05/07 22:02:57, bradfitz wrote:
> until Go figures out its time type situation, let's be explicit in the
variable
> name that this is NOT nanoseconds here (which is more standard) and is instead
> seconds.

Done.

> But is this only here for testing?  Will this be odd for caller code?

It's used by caller code, but I'm likely to be writing all the calling code to.
When we get a time type sorted out I can change it.
Sign in to reply to this message.

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