crypto.Signer.Sign (method)
7 uses
crypto (current package)
crypto.go#L198: Sign(rand io.Reader, digest []byte, opts SignerOpts) (signature []byte, err error)
crypto/tls
handshake_client.go#L815: certVerify.signature, err = key.Sign(c.config.rand(), signed, signOpts)
handshake_client_tls13.go#L821: sig, err := cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
handshake_server_tls13.go#L754: 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#L1522: signature, err := key.Sign(rand, signed, signerOpts)
github.com/golang-jwt/jwt/v5
ed25519.go#L73: sig, err := ed25519Key.Sign(rand.Reader, []byte(signingString), crypto.Hash(0))
 |
The pages are generated with Golds v0.7.6. (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. |