commit | 02a891b30ba44fd2185ad6292ff6d862b3946084 | [log] [tgz] |
---|---|---|
author | Gerasimos Dimitriadis <gedimitr@gmail.com> | Mon Jun 10 18:14:47 2013 -0400 |
committer | Adam Langley <agl@golang.org> | Mon Jun 10 18:14:47 2013 -0400 |
tree | f070fc6a7f4b7e67cf80970fe530c980e65385d5 | |
parent | 71051953e008b5e272ea2e83d2b84bdc13924628 [diff] |
asn1: Improved encoding/decoding for OID types The first identifier in an Object Identifer must be between 0 and 2 inclusive. The range of values that the second one can take depends on the value of the first one. The two first identifiers are not necessarily encoded in a single octet, but in a varint. R=golang-dev, agl CC=golang-dev https://golang.org/cl/10140046