summaryrefslogtreecommitdiff
path: root/src/pkg/asn1/marshal_test.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+129
2011-09-13Imported Upstream version 60Ondřej Surý1-129/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-5/+5
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-0/+5
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-0/+24
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-26/+29
2010-06-09asn1: allow '*' in PrintableString.Adam Langley1-0/+1
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-3/+15
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 marshaling of structures with >1 elements.Adam Langley1-0/+6
Fixes issue 515. R=rsc CC=golang-dev http://codereview.appspot.com/184079
2009-12-15 1) Change default gofmt default settings forRobert Griesemer1-17/+17
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-17asn1:Adam Langley1-0/+78
* 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