forked from quic-go/quic-go
9 lines
263 B
Go
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)
|
|
}
|