Searched refs:getBigIntegerMagnitudeBytes (Results 1 – 2 of 2) sorted by relevance
123 TestUtils.getBigIntegerMagnitudeBytes(modulus.subtract(BigInteger.ONE)); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus()150 byte[] plaintext = TestUtils.getBigIntegerMagnitudeBytes(modulus); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus()180 TestUtils.getBigIntegerMagnitudeBytes(modulus.add(BigInteger.ONE)); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus()
1236 public static byte[] getBigIntegerMagnitudeBytes(BigInteger value) { in getBigIntegerMagnitudeBytes() method in TestUtils