SignWithAlgorithm is like Signer.Sign, but allows specifying a desired signing algorithm. Callers may pass an empty string for the algorithm in which case the AlgorithmSigner will use a default algorithm. This default doesn't currently control any behavior in this package.
(rand io.Reader, data []byte, algorithm string)
| 381 | // which case the AlgorithmSigner will use a default algorithm. This default |
| 382 | // doesn't currently control any behavior in this package. |
| 383 | SignWithAlgorithm(rand io.Reader, data []byte, algorithm string) (*Signature, error) |
| 384 | } |
| 385 | |
| 386 | // MultiAlgorithmSigner is an AlgorithmSigner that also reports the algorithms |
no outgoing calls