forked from quic-go/quic-go
change Signer interface to return errors
This commit is contained in:
@@ -3,6 +3,6 @@ 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
|
||||
GetCertUncompressed(sni string) []byte
|
||||
GetCertCompressed(sni string) ([]byte, error)
|
||||
GetCertUncompressed(sni string) ([]byte, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user