Package org.webpki.crypto
Interface AsymKeySignerInterface
- All Known Subinterfaces:
X509SignerInterface
- All Known Implementing Classes:
CredentialDiscoveryRequestEncoder.LookupDescriptor
,KeyStoreSigner
public interface AsymKeySignerInterface
Common interface for asymmetric key signatures.
-
Method Summary
Modifier and TypeMethodDescriptionGet signature algorithm.byte[]
signData
(byte[] data) Sign data.
-
Method Details
-
signData
byte[] signData(byte[] data) Sign data.- Parameters:
data
- Data to sign- Returns:
- Signed data
-
getAlgorithm
AsymSignatureAlgorithms getAlgorithm()Get signature algorithm.- Returns:
- Signature algorithm
-