Files
quic-go/crypto/signer.go
2016-05-11 11:40:20 +02:00

9 lines
263 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)
GetCertCompressed(sni string) ([]byte, error)
GetLeafCert(sni string) ([]byte, error)
}