type crypto.Signer

18 uses

	crypto (current package)
		crypto.go#L180: type Signer interface {

	crypto/tls
		auth.go#L174: 	priv, ok := cert.PrivateKey.(crypto.Signer)
		auth.go#L266: 	signer, ok := cert.PrivateKey.(crypto.Signer)
		common.go#L1331: 	if priv, ok := c.PrivateKey.(crypto.Signer); ok {
		handshake_client.go#L782: 		key, ok := chainToSend.PrivateKey.(crypto.Signer)
		handshake_client_tls13.go#L821: 	sig, err := cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
		handshake_server.go#L262: 	if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok {
		handshake_server_tls13.go#L754: 	sig, err := hs.cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
		handshake_server_tls13.go#L756: 		public := hs.cert.PrivateKey.(crypto.Signer).Public()
		key_agreement.go#L200: 	priv, ok := cert.PrivateKey.(crypto.Signer)

	crypto/x509
		x509.go#L1451: func signingParamsForKey(key crypto.Signer, sigAlgo SignatureAlgorithm) (SignatureAlgorithm, pkix.AlgorithmIdentifier, error) {
		x509.go#L1505: func signTBS(tbs []byte, key crypto.Signer, sigAlg SignatureAlgorithm, rand io.Reader) ([]byte, error) {
		x509.go#L1600: 	key, ok := priv.(crypto.Signer)
		x509.go#L1747: 	key, ok := priv.(crypto.Signer)
		x509.go#L1960: 	key, ok := priv.(crypto.Signer)
		x509.go#L2307: func CreateRevocationList(rand io.Reader, template *RevocationList, issuer *Certificate, priv crypto.Signer) ([]byte, error) {

	github.com/golang-jwt/jwt/v5
		ed25519.go#L59: 	var ed25519Key crypto.Signer
		ed25519.go#L62: 	if ed25519Key, ok = key.(crypto.Signer); !ok {