crypto.Signer.Sign (method)
8 uses
crypto (current package)
crypto.go#L198: Sign(rand io.Reader, digest []byte, opts SignerOpts) (signature []byte, err error)
crypto.go#L254: return signer.Sign(rand, msg, opts)
crypto/tls
handshake_client.go#L829: certVerify.signature, err = key.Sign(c.config.rand(), signed, sigHash)
key_agreement.go#L228: sig, err = priv.Sign(config.rand(), signed, sigHash)
github.com/refraction-networking/utls
handshake_client.go#L859: certVerify.signature, err = key.Sign(c.config.rand(), signed, signOpts)
handshake_client_tls13.go#L988: sig, err := cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
handshake_server_tls13.go#L870: 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)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |