Package com.fedapay.model
Class WebhookSignature.Util
- java.lang.Object
-
- com.fedapay.model.WebhookSignature.Util
-
- Enclosing class:
- WebhookSignature
public static final class WebhookSignature.Util extends Object
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcomputeHmacSha256(String key, String message)static longgetTimeNow()
-
-
-
Method Detail
-
computeHmacSha256
public static String computeHmacSha256(String key, String message) throws NoSuchAlgorithmException, InvalidKeyException
-
getTimeNow
public static long getTimeNow()
-
-