-
public final class SecretBox.Checker extends BaseChecker
-
-
Method Summary
Modifier and Type Method Description static voidcheckKey(Array<byte> key)static voidcheckMac(Array<byte> mac)static voidcheckNonce(Array<byte> nonce)static voidcheckCipherText(Array<byte> cipherText, int messageLen)static voidcheckMessage(Array<byte> message, int cipherTextLen)static voidcheckCipherTextLength(long cipherTextLen)-
Methods inherited from class com.goterl.lazysodium.utils.BaseChecker
checkArrayLength, checkAtLeast, checkBetween, checkBetween, checkEqual, checkExpectedMemorySize, checkOptionalArrayLength, checkOptionalOutPointer, checkOptionalOutPointer, correctLen, isBetween, requireNonNull -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
checkNonce
static void checkNonce(Array<byte> nonce)
-
checkCipherText
static void checkCipherText(Array<byte> cipherText, int messageLen)
-
checkMessage
static void checkMessage(Array<byte> message, int cipherTextLen)
-
checkCipherTextLength
static void checkCipherTextLength(long cipherTextLen)
-
-
-
-