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)
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |