Signs a message with optional signing options.
Different signature schemes may use the options differently:
The message to sign
Optionaloptions: SigningOptionsOptional signing options
The digital signature
Signs a message using default options.
This is a convenience method that calls signWithOptions with no options.
The message to sign
The digital signature
A trait for types capable of creating digital signatures.
The
Signerinterface provides methods for signing messages with various cryptographic signature schemes. Implementations of this interface can sign messages using different algorithms according to the specific signer type.