type crypto.Signer
18 uses
crypto (current package)
crypto.go#L180: type Signer interface {
crypto.go#L214: Signer
crypto.go#L245: func SignMessage(signer Signer, rand io.Reader, msg []byte, opts SignerOpts) (signature []byte, err error) {
crypto/tls
auth.go#L233: priv, ok := c.PrivateKey.(crypto.Signer)
auth.go#L282: signer, ok := cert.PrivateKey.(crypto.Signer)
common.go#L1459: if priv, ok := c.PrivateKey.(crypto.Signer); ok {
handshake_client.go#L787: key, ok := chainToSend.PrivateKey.(crypto.Signer)
handshake_client_tls13.go#L794: sig, err := crypto.SignMessage(cert.PrivateKey.(crypto.Signer), c.config.rand(), signed, signOpts)
handshake_server.go#L305: if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok {
handshake_server_tls13.go#L870: sig, err := crypto.SignMessage(hs.cert.PrivateKey.(crypto.Signer), c.config.rand(), signed, signOpts)
handshake_server_tls13.go#L872: public := hs.cert.PrivateKey.(crypto.Signer).Public()
key_agreement.go#L188: priv, ok := cert.PrivateKey.(crypto.Signer)
crypto/x509
x509.go#L1534: func signingParamsForKey(key crypto.Signer, sigAlgo SignatureAlgorithm) (SignatureAlgorithm, pkix.AlgorithmIdentifier, error) {
x509.go#L1588: func signTBS(tbs []byte, key crypto.Signer, sigAlg SignatureAlgorithm, rand io.Reader) ([]byte, error) {
x509.go#L1680: key, ok := priv.(crypto.Signer)
x509.go#L1856: key, ok := priv.(crypto.Signer)
x509.go#L2069: key, ok := priv.(crypto.Signer)
x509.go#L2417: func CreateRevocationList(rand io.Reader, template *RevocationList, issuer *Certificate, priv crypto.Signer) ([]byte, error) {