Interface Signer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A signing implementation used to generate digital signatures. Standard implementations can be obtained using factory
methods on the
Signers
class.-
Method Summary
-
Method Details
-
sign
Signs the supplied message digest. The digest is typically a hash of the message.- Parameters:
digest
- A message digest.- Returns:
- A digital signature.
- Throws:
GeneralSecurityException
- if a signing error occurs.
-