forked from quic-go/quic-go
9 lines
271 B
Go
9 lines
271 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)
|
|
GetCertUncompressed(sni string) ([]byte, error)
|
|
}
|