1
0
mirror of https://github.com/golang/go synced 2024-10-07 20:31:24 -06:00
go/src/pkg/crypto/x509
Adam Langley 7748a7f159 crypto/x509: unwrap Subject Key Identifier
RFC 5280, 4.2.1.2 says:
  SubjectKeyIdentifier ::= KeyIdentifier
  KeyIdentifier ::= OCTET STRING

Previously, we were failing to unwrap the second level of OCTET STRING
encoding.

Fixes #993.

R=rsc
CC=golang-dev
https://golang.org/cl/1917044
2010-08-03 12:26:48 -04:00
..
Makefile go: makes it build for the case $GOROOT has whitespaces 2009-11-23 17:32:51 -08:00
x509_test.go crypto/rand for Windows 2010-07-12 16:37:53 -07:00
x509.go crypto/x509: unwrap Subject Key Identifier 2010-08-03 12:26:48 -04:00