Package com.goterl.lazysodium.interfaces
Class Auth.Checker
java.lang.Object
com.goterl.lazysodium.utils.BaseChecker
com.goterl.lazysodium.interfaces.Auth.Checker
- Enclosing interface:
- Auth
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckHMACSha256Key(byte[] key) static voidcheckHMACSha256Tag(byte[] tag) static voidcheckHMACSha512256Key(byte[] key) static voidcheckHMACSha512256Tag(byte[] tag) static voidcheckHMACSha512Key(byte[] key) static voidcheckHMACSha512Tag(byte[] tag) static voidcheckKey(byte[] key) static voidcheckTag(byte[] tag) Methods inherited from class com.goterl.lazysodium.utils.BaseChecker
checkArrayLength, checkAtLeast, checkBetween, checkBetween, checkEqual, checkExpectedMemorySize, checkOptionalArrayLength, checkOptionalOutPointer, checkOptionalOutPointer, correctLen, isBetween, requireNonNull
-
Method Details
-
checkTag
public static void checkTag(byte[] tag) -
checkKey
public static void checkKey(byte[] key) -
checkHMACSha256Tag
public static void checkHMACSha256Tag(byte[] tag) -
checkHMACSha256Key
public static void checkHMACSha256Key(byte[] key) -
checkHMACSha512Tag
public static void checkHMACSha512Tag(byte[] tag) -
checkHMACSha512Key
public static void checkHMACSha512Key(byte[] key) -
checkHMACSha512256Tag
public static void checkHMACSha512256Tag(byte[] tag) -
checkHMACSha512256Key
public static void checkHMACSha512256Key(byte[] key)
-