]> Cypherpunks repositories - gostls13.git/commit
crypto: move certificate verification into x509.
authorAdam Langley <agl@golang.org>
Tue, 19 Apr 2011 13:57:58 +0000 (09:57 -0400)
committerAdam Langley <agl@golang.org>
Tue, 19 Apr 2011 13:57:58 +0000 (09:57 -0400)
commitc24c6d8340bbfc86e003eea9c79c56d3aab8dfcc
tree088f44e7e2f4dbf66584ef8d0ce2217d1c980c10
parent5500f027f72cc7467e7f30447f83480448674f67
crypto: move certificate verification into x509.

People have a need to verify certificates in situations other than TLS
client handshaking. Thus this CL moves certificate verification into
x509 and expands its abilities.

R=bradfitzgo
CC=golang-dev
https://golang.org/cl/4407046
src/pkg/crypto/tls/Makefile
src/pkg/crypto/tls/ca_set.go [deleted file]
src/pkg/crypto/tls/common.go
src/pkg/crypto/tls/conn.go
src/pkg/crypto/tls/handshake_client.go
src/pkg/crypto/x509/Makefile
src/pkg/crypto/x509/cert_pool.go [new file with mode: 0644]
src/pkg/crypto/x509/verify.go [new file with mode: 0644]
src/pkg/crypto/x509/verify_test.go [new file with mode: 0644]