by louisk@google.com:
As a public interface, the crypto.tls.Certificate type, currently defined as:
type Certificate struct {
Certificate [][]byte
PrivateKey *rsa.PrivateKey
...
}
probably should have the PrivateKey field changed to an interface type. Otherwise it
would be very difficult to add implementations for non-RSA cipher suites in the future.
by louisk@google.com:
As a public interface, the crypto.tls.Certificate type, currently defined as: type Certificate struct { Certificate [][]byte PrivateKey *rsa.PrivateKey ... } probably should have the PrivateKey field changed to an interface type. Otherwise it would be very difficult to add implementations for non-RSA cipher suites in the future.