1
0
mirror of https://github.com/golang/go synced 2024-10-04 14:31:21 -06:00
go/src/pkg/crypto
Adam Langley 8e5f673dac crypto/x509, crypto/tls: improve root matching and observe CA flag.
The key/value format of X.500 names means that it's possible to encode
a name with multiple values for, say, organisation. RFC5280
doesn't seem to consider this, but there are Verisign root
certificates which do this and, in order to find the correct
root certificate in some cases, we need to handle it.

Also, CA certificates should set the CA flag and we now check
this. After looking at the other X.509 extensions it appears
that they are universally ignored/bit rotted away so we ignore
them.

R=rsc
CC=golang-dev
https://golang.org/cl/2249042
2010-09-20 12:17:31 -04:00
..
aes build: no required environment variables 2010-08-18 10:08:49 -04:00
block build: no required environment variables 2010-08-18 10:08:49 -04:00
blowfish build: no required environment variables 2010-08-18 10:08:49 -04:00
hmac crypto/hmac: make Sum idempotent 2010-08-26 13:32:29 -04:00
md4 build: no required environment variables 2010-08-18 10:08:49 -04:00
md5 build: no required environment variables 2010-08-18 10:08:49 -04:00
ocsp crypto/ocsp: add missing Makefile 2010-08-19 16:33:58 -04:00
rand build: no required environment variables 2010-08-18 10:08:49 -04:00
rc4 build: no required environment variables 2010-08-18 10:08:49 -04:00
ripemd160 build: no required environment variables 2010-08-18 10:08:49 -04:00
rsa build: no required environment variables 2010-08-18 10:08:49 -04:00
sha1 build: no required environment variables 2010-08-18 10:08:49 -04:00
sha256 build: no required environment variables 2010-08-18 10:08:49 -04:00
sha512 build: no required environment variables 2010-08-18 10:08:49 -04:00
subtle build: no required environment variables 2010-08-18 10:08:49 -04:00
tls crypto/x509, crypto/tls: improve root matching and observe CA flag. 2010-09-20 12:17:31 -04:00
x509 crypto/x509, crypto/tls: improve root matching and observe CA flag. 2010-09-20 12:17:31 -04:00
xtea build: no required environment variables 2010-08-18 10:08:49 -04:00