We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
package main import ( "encoding/asn1" "fmt" "math/big" ) func main() { data := &struct { A int64 B *big.Int }{} _, err := asn1.Unmarshal([]byte{0x30, 0x0e, 0x02, 0x05, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x05, 0x00, 0x00, 0x00, 0x00, 0x01}, data) if err != nil { panic(err) } fmt.Printf("%#v\n", data) }
Per the DER spec, INTEGER must be minimally encoded.
INTEGER
$ go version go version go1.5.1 darwin/amd64
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/16517 mentions this issue.
Sorry, something went wrong.
CL https://golang.org/cl/17008 mentions this issue.
7c20ea9
No branches or pull requests
Example:
Per the DER spec,
INTEGER
must be minimally encoded.The text was updated successfully, but these errors were encountered: