type crypto.Signer
27 uses
crypto (current package)
crypto.go#L180: type Signer interface {
crypto.go#L214: Signer
crypto.go#L245: func SignMessage(signer Signer, rand io.Reader, msg []byte, opts SignerOpts) (signature []byte, err error) {
crypto/tls
auth.go#L233: priv, ok := c.PrivateKey.(crypto.Signer)
auth.go#L282: signer, ok := cert.PrivateKey.(crypto.Signer)
common.go#L1459: if priv, ok := c.PrivateKey.(crypto.Signer); ok {
handshake_client.go#L787: key, ok := chainToSend.PrivateKey.(crypto.Signer)
handshake_client_tls13.go#L794: sig, err := crypto.SignMessage(cert.PrivateKey.(crypto.Signer), c.config.rand(), signed, signOpts)
handshake_server.go#L305: if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok {
handshake_server_tls13.go#L870: sig, err := crypto.SignMessage(hs.cert.PrivateKey.(crypto.Signer), c.config.rand(), signed, signOpts)
handshake_server_tls13.go#L872: public := hs.cert.PrivateKey.(crypto.Signer).Public()
key_agreement.go#L188: priv, ok := cert.PrivateKey.(crypto.Signer)
crypto/x509
x509.go#L1534: func signingParamsForKey(key crypto.Signer, sigAlgo SignatureAlgorithm) (SignatureAlgorithm, pkix.AlgorithmIdentifier, error) {
x509.go#L1588: func signTBS(tbs []byte, key crypto.Signer, sigAlg SignatureAlgorithm, rand io.Reader) ([]byte, error) {
x509.go#L1680: key, ok := priv.(crypto.Signer)
x509.go#L1856: key, ok := priv.(crypto.Signer)
x509.go#L2069: key, ok := priv.(crypto.Signer)
x509.go#L2417: func CreateRevocationList(rand io.Reader, template *RevocationList, issuer *Certificate, priv crypto.Signer) ([]byte, error) {
github.com/refraction-networking/utls
auth.go#L174: priv, ok := cert.PrivateKey.(crypto.Signer)
auth.go#L268: signer, ok := cert.PrivateKey.(crypto.Signer)
common.go#L1451: if priv, ok := c.PrivateKey.(crypto.Signer); ok {
handshake_client.go#L826: key, ok := chainToSend.PrivateKey.(crypto.Signer)
handshake_client_tls13.go#L988: sig, err := cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
handshake_server.go#L290: if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok {
handshake_server_tls13.go#L870: sig, err := hs.cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
handshake_server_tls13.go#L872: public := hs.cert.PrivateKey.(crypto.Signer).Public()
key_agreement.go#L200: priv, ok := cert.PrivateKey.(crypto.Signer)
 |
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. |