crypto.Signer.Sign (method)

9 uses

	crypto (current package)
		crypto.go#L198: 	Sign(rand io.Reader, digest []byte, opts SignerOpts) (signature []byte, err error)

	crypto/tls
		handshake_client.go#L703: 		certVerify.signature, err = key.Sign(c.config.rand(), signed, signOpts)
		handshake_client_tls13.go#L680: 	sig, err := cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
		handshake_server_tls13.go#L707: 	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#L1648: 	signature, err = key.Sign(rand, signed, signerOpts)
		x509.go#L1762: 	signature, err = key.Sign(rand, signed, hashFunc)
		x509.go#L2073: 	signature, err = key.Sign(rand, signed, hashFunc)
		x509.go#L2442: 	signature, err := priv.Sign(rand, input, signerOpts)