MCPcopy Index your code
hub / github.com/golang/crypto / SignWithAlgorithm

Method SignWithAlgorithm

ssh/client_auth_test.go:119–122  ·  view source on GitHub ↗
(rand io.Reader, data []byte, algorithm string)

Source from the content-addressed store, hash-verified

117}
118
119func (l *loggingAlgorithmSigner) SignWithAlgorithm(rand io.Reader, data []byte, algorithm string) (*Signature, error) {
120 l.used = append(l.used, algorithm)
121 return l.AlgorithmSigner.SignWithAlgorithm(rand, data, algorithm)
122}
123
124func TestClientAuthPublicKey(t *testing.T) {
125 signer := &loggingAlgorithmSigner{AlgorithmSigner: testSigners["rsa"].(AlgorithmSigner)}

Callers

nothing calls this directly

Calls 1

SignWithAlgorithmMethod · 0.65

Tested by

no test coverage detected