-
public final class Box.Checker extends BaseChecker
-
-
Method Summary
Modifier and Type Method Description static voidcheckPublicKey(Array<byte> key)static voidcheckSecretKey(Array<byte> key)static voidcheckSeed(Array<byte> seed)static voidcheckNonce(Array<byte> nonce)static voidcheckMac(Array<byte> mac)static voidcheckSharedKey(Array<byte> sharedKey)static voidcheckCipherText(Array<byte> cipherText, int messageLen)static voidcheckSealCipherText(Array<byte> cipherText, int messageLen)static voidcheckMessage(Array<byte> message, int cipherTextLen)static voidcheckSealMessage(Array<byte> message, int cipherTextLen)static voidcheckCipherTextLength(long cipherTextLen)static voidcheckSealCipherTextLength(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
-
checkPublicKey
static void checkPublicKey(Array<byte> key)
-
checkSecretKey
static void checkSecretKey(Array<byte> key)
-
checkNonce
static void checkNonce(Array<byte> nonce)
-
checkSharedKey
static void checkSharedKey(Array<byte> sharedKey)
-
checkCipherText
static void checkCipherText(Array<byte> cipherText, int messageLen)
-
checkSealCipherText
static void checkSealCipherText(Array<byte> cipherText, int messageLen)
-
checkMessage
static void checkMessage(Array<byte> message, int cipherTextLen)
-
checkSealMessage
static void checkSealMessage(Array<byte> message, int cipherTextLen)
-
checkCipherTextLength
static void checkCipherTextLength(long cipherTextLen)
-
checkSealCipherTextLength
static void checkSealCipherTextLength(long cipherTextLen)
-
-
-
-