type crypto.Signer
18 uses
crypto (current package)
crypto.go#L194: type Signer interface {
crypto.go#L228: Signer
crypto.go#L259: func SignMessage(signer Signer, rand io.Reader, msg []byte, opts SignerOpts) (signature []byte, err error) {
crypto/tls
auth.go#L262: priv, ok := c.PrivateKey.(crypto.Signer)
auth.go#L311: signer, ok := cert.PrivateKey.(crypto.Signer)
common.go#L1477: if priv, ok := c.PrivateKey.(crypto.Signer); ok {
handshake_client.go#L793: key, ok := chainToSend.PrivateKey.(crypto.Signer)
handshake_client_tls13.go#L799: sig, err := crypto.SignMessage(cert.PrivateKey.(crypto.Signer), c.config.rand(), signed, signOpts)
handshake_server.go#L302: if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok {
handshake_server_tls13.go#L873: sig, err := crypto.SignMessage(hs.cert.PrivateKey.(crypto.Signer), c.config.rand(), signed, signOpts)
handshake_server_tls13.go#L875: public := hs.cert.PrivateKey.(crypto.Signer).Public()
key_agreement.go#L188: priv, ok := cert.PrivateKey.(crypto.Signer)
crypto/x509
x509.go#L1642: func signingParamsForKey(key crypto.Signer, sigAlgo SignatureAlgorithm) (SignatureAlgorithm, pkix.AlgorithmIdentifier, error) {
x509.go#L1712: func signTBS(tbs []byte, key crypto.Signer, sigAlg SignatureAlgorithm, rand io.Reader) ([]byte, error) {
x509.go#L1808: key, ok := priv.(crypto.Signer)
x509.go#L1984: key, ok := priv.(crypto.Signer)
x509.go#L2203: key, ok := priv.(crypto.Signer)
x509.go#L2556: func CreateRevocationList(rand io.Reader, template *RevocationList, issuer *Certificate, priv crypto.Signer) ([]byte, error) {