public interface ChallengeSigner
| Modifier and Type | Method and Description |
|---|---|
byte[] |
sign(byte[] challenge)
The response computed by performing the correct HMAC function of provided challenge with the correct key.
|
byte[] sign(byte[] challenge)
throws java.security.InvalidKeyException,
java.security.NoSuchAlgorithmException
challenge - the challenge that needs to be signedjava.security.InvalidKeyException - in case of crypto operation errorjava.security.NoSuchAlgorithmException - in case of crypto operation error