summaryrefslogtreecommitdiff
path: root/src/pkg/asn1/asn1.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+840
2011-09-13Imported Upstream version 60Ondřej Surý1-843/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-19/+28
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-4/+31
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-16/+16
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-40/+62
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-98/+96
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox1-16/+17
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-06-09asn1: allow '*' in PrintableString.Adam Langley1-1/+5
Although technically incorrect, we want this in order to parse X.509 certificates where a wildcard hostname ("*.example.com") has been put into a PrintableString. Fixes issue 850. R=rsc CC=golang-dev http://codereview.appspot.com/1615043
2010-02-05asn1: Fixes and additions to marshallingAdam Langley1-5/+0
Marshalling: * Fixes several silly bugs. * Support the RawContents type. * Support the RawValue type. * Recurse into nested interface{}. Both directions: * Better handling of SETs. You can now tag an element in a structure with "set" to get the correct tag for serialisation. * For types that aren't in a structure, you can now name them with "SET" on the end. * SETs are no longer implicitly treated as SEQUENCEs. R=rsc CC=golang-dev http://codereview.appspot.com/201049
2010-01-11asn1: fix parsing of elements after a string in a structure.Adam Langley1-9/+2
Fixes issue 516. R=rsc CC=golang-dev, golang-dev http://codereview.appspot.com/184080
2009-12-15 1) Change default gofmt default settings forRobert Griesemer1-227/+227
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r http://codereview.appspot.com/180047
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-4/+4
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-18asn1: add support for RawContentAdam Langley1-1/+20
R=rsc CC=golang-dev http://codereview.appspot.com/157056
2009-11-17asn1:Adam Langley1-134/+31
* add Marshal * add BitString.RightAlign * change to using a *time.Time (from time.Time) since that's what the time package uses. * return the unparsed data from Unmarshal. R=rsc CC=golang-dev http://codereview.appspot.com/156047
2009-11-10minor adjustments to package comments for better synopsis.Robert Griesemer1-2/+2
R=rsc CC=r http://go/go-review/1026038
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-16/+16
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1024040
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-70/+70
R=rsc, r http://go/go-review/1025029
2009-11-06Typo fixes.David Symonds1-1/+1
R=rsc CC=go-dev http://go/go-review/1026014 Committer: Russ Cox <rsc@golang.org>
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-9/+3
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-04gofmt-ify asn1Robert Griesemer1-21/+21
R=rsc http://go/go-review/1018047
2009-10-13Add ASN.1 parser.Adam Langley1-0/+884
R=rsc APPROVED=rsc DELTA=1459 (1459 added, 0 deleted, 0 changed) OCL=35389 CL=35681