Files
quic-go/crypto/signer.go
2016-05-11 11:41:44 +02:00

9 lines
264 B
Go

package crypto
// A Signer holds a certificate and a private key
type Signer interface {
SignServerProof(sni string, chlo []byte, serverConfigData []byte) ([]byte, error)
GetCertsCompressed(sni string) ([]byte, error)
GetLeafCert(sni string) ([]byte, error)
}