]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: implement crypto.Signer
authorPaul van Brouwershaven <paul@vanbrouwershaven.com>
Mon, 5 Jan 2015 10:07:05 +0000 (10:07 +0000)
committerAdam Langley <agl@golang.org>
Wed, 21 Jan 2015 20:13:48 +0000 (20:13 +0000)
commitfe40cdd756763982db6815ee87318f418218fcf5
treec3158c0ef1c95a7fffddc07e47fa4ea84a9e3217
parent695a0fb4ef35beaacc0dbfdd41d6008fc0c07ff4
crypto/x509: implement crypto.Signer

Signer is an interface to support opaque private keys.
These keys typically result from being kept in special hardware
(i.e. a TPM) although sometimes operating systems provide a
similar interface using process isolation for security rather
than hardware boundaries.

This changes provides updates implements crypto.Signer in
CreateCRL and CreateCertificate so that they can be used with
opaque keys.

This CL has been discussed at: http://golang.org/cl/145910043

Change-Id: Id7857fb9a3b4c957c7050b519552ef1c8e55461e
Reviewed-on: https://go-review.googlesource.com/3126
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/x509/x509.go