Package org.webpki.json
Class JSONHmacSigner
java.lang.Object
org.webpki.json.JSONSigner
org.webpki.json.JSONHmacSigner
Initiator object for HMAC signatures.
-
Constructor Summary
ConstructorDescriptionJSONHmacSigner
(byte[] rawKey, HmacAlgorithms algorithm) Constructor for JCE based solutions.JSONHmacSigner
(HmacSignerInterface signer) Constructor for custom crypto solutions. -
Method Summary
Modifier and TypeMethodDescriptionsetAlgorithmPreferences
(AlgorithmPreferences algorithmPreferences) void
setExtensionNames
(String[] names, boolean encryptionMode) Methods inherited from class org.webpki.json.JSONSigner
getNormalizedData, setExcluded, setExtensionData, setExtensionNames, setKeyId
-
Constructor Details
-
JSONHmacSigner
Constructor for custom crypto solutions.- Parameters:
signer
- Handle to implementation
-
JSONHmacSigner
Constructor for JCE based solutions.- Parameters:
rawKey
- Keyalgorithm
- MAC algorithm
-
-
Method Details
-
setAlgorithmPreferences
-
setExtensionNames
-