Class PayloadSignatureChecker
- java.lang.Object
-
- io.quarkiverse.githubapp.runtime.signing.PayloadSignatureChecker
-
@Singleton public class PayloadSignatureChecker extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaccreateNewMacInstance(SecretKeySpec secretKeySpec)MacgetMacInstance()static Stringhex(byte[] bytes)booleanmatches(byte[] payload, String headerSignature)static booleansupportsClone(Mac mac)
-
-
-
Method Detail
-
matches
public boolean matches(byte[] payload, String headerSignature)
-
supportsClone
public static boolean supportsClone(Mac mac)
-
getMacInstance
public Mac getMacInstance()
-
createNewMacInstance
public static Mac createNewMacInstance(SecretKeySpec secretKeySpec)
-
hex
public static String hex(byte[] bytes)
-
-