Searched refs:cipherText (Results 1 - 16 of 16) sorted by relevance

/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/crypto/
H A DCryptoManagerTestCase.java230 final byte[] cipherText = (null == cp.getTransformation())
234 assertEquals(-1, new String(cipherText).indexOf(secretMessage));
236 final byte[] plainText = cm.decrypt(cipherText);
293 final byte[] cipherText = cm.encrypt(secretMessage.getBytes());
301 final byte[] keyID = Arrays.copyOfRange(cipherText, 1, 16);
306 assertTrue(! Arrays.equals(cipherText, cipherText2));
323 final byte[] cipherText = cm.encrypt("Blowfish/CFB/NoPadding", 128,
333 byte[] plainText = cm.decrypt(cipherText);
356 final byte[] cipherText = cm.encrypt(cipherTransformationName,
421 System.arraycopy(cipherText,
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/crypto/
H A DCryptoManagerTestCase.java229 final byte[] cipherText = (null == cp.getTransformation())
233 assertEquals(-1, new String(cipherText).indexOf(secretMessage));
235 final byte[] plainText = cm.decrypt(cipherText);
292 final byte[] cipherText = cm.encrypt(secretMessage.getBytes());
300 final byte[] keyID = Arrays.copyOfRange(cipherText, 1, 16);
305 assertTrue(! Arrays.equals(cipherText, cipherText2));
322 final byte[] cipherText = cm.encrypt("Blowfish/CFB/NoPadding", 128,
332 byte[] plainText = cm.decrypt(cipherText);
355 final byte[] cipherText = cm.encrypt(cipherTransformationName,
420 System.arraycopy(cipherText,
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/crypto/
H A DCryptoManagerTestCase.java230 final byte[] cipherText = (null == cp.getTransformation())
234 assertEquals(-1, new String(cipherText).indexOf(secretMessage));
236 final byte[] plainText = cm.decrypt(cipherText);
293 final byte[] cipherText = cm.encrypt(secretMessage.getBytes());
301 final byte[] keyID = Arrays.copyOfRange(cipherText, 1, 16);
306 assertTrue(! Arrays.equals(cipherText, cipherText2));
323 final byte[] cipherText = cm.encrypt("Blowfish/CFB/NoPadding", 128,
333 byte[] plainText = cm.decrypt(cipherText);
356 final byte[] cipherText = cm.encrypt(cipherTransformationName,
421 System.arraycopy(cipherText,
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/crypto/
H A DCryptoManagerTestCase.java229 final byte[] cipherText = (null == cp.getTransformation())
233 assertEquals(-1, new String(cipherText).indexOf(secretMessage));
235 final byte[] plainText = cm.decrypt(cipherText);
292 final byte[] cipherText = cm.encrypt(secretMessage.getBytes());
300 final byte[] keyID = Arrays.copyOfRange(cipherText, 1, 16);
305 assertTrue(! Arrays.equals(cipherText, cipherText2));
322 final byte[] cipherText = cm.encrypt("Blowfish/CFB/NoPadding", 128,
332 byte[] plainText = cm.decrypt(cipherText);
355 final byte[] cipherText = cm.encrypt(cipherTransformationName,
420 System.arraycopy(cipherText,
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/crypto/
H A DCryptoManagerTestCase.java230 final byte[] cipherText = (null == cp.getTransformation())
234 assertEquals(-1, new String(cipherText).indexOf(secretMessage));
236 final byte[] plainText = cm.decrypt(cipherText);
293 final byte[] cipherText = cm.encrypt(secretMessage.getBytes());
301 final byte[] keyID = Arrays.copyOfRange(cipherText, 1, 16);
306 assertTrue(! Arrays.equals(cipherText, cipherText2));
323 final byte[] cipherText = cm.encrypt("Blowfish/CFB/NoPadding", 128,
333 byte[] plainText = cm.decrypt(cipherText);
356 final byte[] cipherText = cm.encrypt(cipherTransformationName,
421 System.arraycopy(cipherText,
[all...]
/forgerock/openam-v13/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/
H A DUserPasswordAttribute.java195 final byte[] cipherText = new byte[valLen];
196 System.arraycopy(super.getOctets(), 2, cipherText, 0, valLen);
197 final byte[] clearText = UserPasswordAttribute.convert(cipherText, Direction.DECRYPT, secret, a);
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/crypto/
H A DCryptoManagerTestCase.java218 final byte[] cipherText = (null == cp.getTransformation())
222 assertEquals(-1, new String(cipherText).indexOf(secretMessage));
224 final byte[] plainText = cm.decrypt(cipherText);
281 final byte[] cipherText = cm.encrypt(secretMessage.getBytes());
289 final byte[] keyID = Arrays.copyOfRange(cipherText, 1, 16);
294 assertFalse(Arrays.equals(cipherText, cipherText2));
311 final byte[] cipherText = cm.encrypt("Blowfish/CFB/NoPadding", 128,
321 byte[] plainText = cm.decrypt(cipherText);
344 final byte[] cipherText = cm.encrypt(cipherTransformationName,
385 System.arraycopy(cipherText,
[all...]
/forgerock/openam/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/
H A DUserPasswordAttribute.java195 final byte[] cipherText = new byte[valLen];
196 System.arraycopy(super.getOctets(), 2, cipherText, 0, valLen);
197 final byte[] clearText = UserPasswordAttribute.convert(cipherText, Direction.DECRYPT, secret, a);
/forgerock/openam-v13/openam-shared/src/main/java/com/iplanet/services/util/
H A DJCEEncryption.java226 * @param cipherText
228 private byte[] pbeDecrypt(byte[] cipherText) { argument
232 byte share[] = cipherText;
/forgerock/openam/openam-shared/src/main/java/com/iplanet/services/util/
H A DJCEEncryption.java226 * @param cipherText
228 private byte[] pbeDecrypt(byte[] cipherText) { argument
232 byte share[] = cipherText;
/forgerock/opendj-b2.6/src/server/org/opends/server/crypto/
H A DCryptoManagerImpl.java2775 final byte[] cipherText = new byte[prologueLength + dataLength];
2777 cipherText[writeIndex++] = CIPHERTEXT_PROLOGUE_VERSION;
2778 System.arraycopy(keyID, 0, cipherText, writeIndex, keyID.length);
2781 System.arraycopy(iv, 0, cipherText, writeIndex, iv.length);
2784 System.arraycopy(cipher.doFinal(data), 0, cipherText,
2786 return cipherText;
/forgerock/opendj2/src/server/org/opends/server/crypto/
H A DCryptoManagerImpl.java2786 final byte[] cipherText = new byte[prologueLength + dataLength];
2788 cipherText[writeIndex++] = CIPHERTEXT_PROLOGUE_VERSION;
2789 System.arraycopy(keyID, 0, cipherText, writeIndex, keyID.length);
2792 System.arraycopy(iv, 0, cipherText, writeIndex, iv.length);
2795 System.arraycopy(cipher.doFinal(data), 0, cipherText,
2797 return cipherText;
/forgerock/opendj2.6.2/src/server/org/opends/server/crypto/
H A DCryptoManagerImpl.java2775 final byte[] cipherText = new byte[prologueLength + dataLength];
2777 cipherText[writeIndex++] = CIPHERTEXT_PROLOGUE_VERSION;
2778 System.arraycopy(keyID, 0, cipherText, writeIndex, keyID.length);
2781 System.arraycopy(iv, 0, cipherText, writeIndex, iv.length);
2784 System.arraycopy(cipher.doFinal(data), 0, cipherText,
2786 return cipherText;
/forgerock/opendj2-jel-hg/src/server/org/opends/server/crypto/
H A DCryptoManagerImpl.java2775 final byte[] cipherText = new byte[prologueLength + dataLength];
2777 cipherText[writeIndex++] = CIPHERTEXT_PROLOGUE_VERSION;
2778 System.arraycopy(keyID, 0, cipherText, writeIndex, keyID.length);
2781 System.arraycopy(iv, 0, cipherText, writeIndex, iv.length);
2784 System.arraycopy(cipher.doFinal(data), 0, cipherText,
2786 return cipherText;
/forgerock/opendj2-hg/src/server/org/opends/server/crypto/
H A DCryptoManagerImpl.java2786 final byte[] cipherText = new byte[prologueLength + dataLength];
2788 cipherText[writeIndex++] = CIPHERTEXT_PROLOGUE_VERSION;
2789 System.arraycopy(keyID, 0, cipherText, writeIndex, keyID.length);
2792 System.arraycopy(iv, 0, cipherText, writeIndex, iv.length);
2795 System.arraycopy(cipher.doFinal(data), 0, cipherText,
2797 return cipherText;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/crypto/
H A DCryptoManagerImpl.java2572 final byte[] cipherText = new byte[prologueLength + dataLength];
2574 cipherText[writeIndex++] = CIPHERTEXT_PROLOGUE_VERSION;
2575 System.arraycopy(keyID, 0, cipherText, writeIndex, keyID.length);
2578 System.arraycopy(iv, 0, cipherText, writeIndex, iv.length);
2581 System.arraycopy(cipher.doFinal(data), 0, cipherText,
2583 return cipherText;

Completed in 141 milliseconds