crypto.Signer.Sign (method)
6 uses
crypto (current package)
crypto.go#L198: Sign(rand io.Reader, digest []byte, opts SignerOpts) (signature []byte, err error)
crypto/tls
handshake_client.go#L828: certVerify.signature, err = key.Sign(c.config.rand(), signed, signOpts)
handshake_client_tls13.go#L812: sig, err := cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
handshake_server_tls13.go#L869: sig, err := hs.cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
key_agreement.go#L233: sig, err := priv.Sign(config.rand(), signed, signOpts)
crypto/x509
x509.go#L1588: signature, err := key.Sign(rand, signed, signerOpts)