Package org.webpki.cbor
Class CBORHmacSigner
Class for creating CBOR HMAC signatures.
Also see CBORSigner
.
-
Constructor Summary
ConstructorDescriptionCBORHmacSigner
(byte[] secretKey, HmacAlgorithms algorithm) Creates a signer object with a secret key.CBORHmacSigner
(HmacSignerInterface signer) Creates a signer object with an external interface. -
Method Summary
Methods inherited from class org.webpki.cbor.CBORSigner
setCloneMode, setIntercepter, setKeyId, setProvider, sign
-
Constructor Details
-
CBORHmacSigner
Creates a signer object with a secret key.- Parameters:
secretKey
- Signature keyalgorithm
- HMAC algorithm
-
CBORHmacSigner
Creates a signer object with an external interface.- Parameters:
signer
- The external signer
-