Searched refs:checksum (Results 1 - 25 of 69) sorted by relevance

123

/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksumTest.java47 GenerationIdChecksum checksum = new GenerationIdChecksum();
50 assertEquals(checksum.getValue(), GenerationIdChecksum.EMPTY_BACKEND_GENERATION_ID);
53 checksum.update(3);
54 assertEquals(checksum.getValue(), 3L);
55 checksum.update(4);
56 assertEquals(checksum.getValue(), 7L);
57 checksum.update(125);
58 assertEquals(checksum.getValue(), 132L);
61 checksum.reset();
62 assertEquals(checksum
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksumTest.java46 GenerationIdChecksum checksum = new GenerationIdChecksum();
49 assertEquals(checksum.getValue(), GenerationIdChecksum.EMPTY_BACKEND_GENERATION_ID);
52 checksum.update(3);
53 assertEquals(checksum.getValue(), 3L);
54 checksum.update(4);
55 assertEquals(checksum.getValue(), 7L);
56 checksum.update(125);
57 assertEquals(checksum.getValue(), 132L);
60 checksum.reset();
61 assertEquals(checksum
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksumTest.java47 GenerationIdChecksum checksum = new GenerationIdChecksum();
50 assertEquals(checksum.getValue(), GenerationIdChecksum.EMPTY_BACKEND_GENERATION_ID);
53 checksum.update(3);
54 assertEquals(checksum.getValue(), 3L);
55 checksum.update(4);
56 assertEquals(checksum.getValue(), 7L);
57 checksum.update(125);
58 assertEquals(checksum.getValue(), 132L);
61 checksum.reset();
62 assertEquals(checksum
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksumTest.java46 GenerationIdChecksum checksum = new GenerationIdChecksum();
49 assertEquals(checksum.getValue(), GenerationIdChecksum.EMPTY_BACKEND_GENERATION_ID);
52 checksum.update(3);
53 assertEquals(checksum.getValue(), 3L);
54 checksum.update(4);
55 assertEquals(checksum.getValue(), 7L);
56 checksum.update(125);
57 assertEquals(checksum.getValue(), 132L);
60 checksum.reset();
61 assertEquals(checksum
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksumTest.java47 GenerationIdChecksum checksum = new GenerationIdChecksum();
50 assertEquals(checksum.getValue(), GenerationIdChecksum.EMPTY_BACKEND_GENERATION_ID);
53 checksum.update(3);
54 assertEquals(checksum.getValue(), 3L);
55 checksum.update(4);
56 assertEquals(checksum.getValue(), 7L);
57 checksum.update(125);
58 assertEquals(checksum.getValue(), 132L);
61 checksum.reset();
62 assertEquals(checksum
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/
H A DGenerationIdChecksumTest.java47 GenerationIdChecksum checksum = new GenerationIdChecksum();
50 assertEquals(checksum.getValue(), GenerationIdChecksum.EMPTY_BACKEND_GENERATION_ID);
53 checksum.update(3);
54 assertEquals(checksum.getValue(), 3L);
55 checksum.update(4);
56 assertEquals(checksum.getValue(), 7L);
57 checksum.update(125);
58 assertEquals(checksum.getValue(), 132L);
61 checksum.reset();
62 assertEquals(checksum
[all...]
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/upgrade/
H A DFileStateChecker.java30 // Path to checksum file
31 private final ChecksumFile checksum; field in class:FileStateChecker
34 * Construct the FileStateChecker from a checksum file.
36 * @param checksum the checksum file
38 * @throws NoSuchAlgorithmException if checksum algorithm in checksum file is unknown
40 FileStateChecker(ChecksumFile checksum) throws IOException, NoSuchAlgorithmException { argument
41 this.checksum = checksum;
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksum.java33 * It is a checksum based on some special entries/attributes of the domain.
38 * data sets having the same checksum is very low.
43 private long checksum = 0L; field in class:GenerationIdChecksum
51 * Update the checksum with one added byte.
57 * the same checksum value on every platforms, we always exclude the CR and
62 checksum += (long) b;
90 if (checksum != 0L)
92 return checksum;
96 // will not be added to the checksum as no entries will follow. To treat
109 checksum
[all...]
/forgerock/opendj2/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksum.java32 * It is a checksum based on some special entries/attributes of the domain.
37 * data sets having the same checksum is very low.
42 private long checksum = 0L; field in class:GenerationIdChecksum
50 * Update the checksum with one added byte.
56 * the same checksum value on every platforms, we always exclude the CR and
61 checksum += (long) b;
89 if (checksum != 0L)
91 return checksum;
95 // will not be added to the checksum as no entries will follow. To treat
108 checksum
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksum.java33 * It is a checksum based on some special entries/attributes of the domain.
38 * data sets having the same checksum is very low.
43 private long checksum = 0L; field in class:GenerationIdChecksum
51 * Update the checksum with one added byte.
57 * the same checksum value on every platforms, we always exclude the CR and
62 checksum += (long) b;
90 if (checksum != 0L)
92 return checksum;
96 // will not be added to the checksum as no entries will follow. To treat
109 checksum
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksum.java33 * It is a checksum based on some special entries/attributes of the domain.
38 * data sets having the same checksum is very low.
43 private long checksum = 0L; field in class:GenerationIdChecksum
51 * Update the checksum with one added byte.
57 * the same checksum value on every platforms, we always exclude the CR and
62 checksum += (long) b;
90 if (checksum != 0L)
92 return checksum;
96 // will not be added to the checksum as no entries will follow. To treat
109 checksum
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/replication/plugin/
H A DGenerationIdChecksum.java32 * It is a checksum based on some special entries/attributes of the domain.
37 * data sets having the same checksum is very low.
42 private long checksum = 0L; field in class:GenerationIdChecksum
50 * Update the checksum with one added byte.
56 * the same checksum value on every platforms, we always exclude the CR and
61 checksum += (long) b;
89 if (checksum != 0L)
91 return checksum;
95 // will not be added to the checksum as no entries will follow. To treat
108 checksum
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/
H A DGenerationIdChecksum.java33 * It is a checksum based on some special entries/attributes of the domain.
38 * data sets having the same checksum is very low.
43 private long checksum; field in class:GenerationIdChecksum
48 /** Update the checksum with one added byte. */
53 * the same checksum value on every platforms, we always exclude the CR and
58 checksum += b;
80 if (checksum != 0L)
82 return checksum;
87 * will not be added to the checksum as no entries will follow. To treat
99 checksum
[all...]
/forgerock/openam-v13/openam-distribution/src/main/amserver/diagnostics/services/tamperdetection/config/
H A DTamperDetectionConfiguration29 create-checksum=com.sun.identity.diagnostic.plugin.services.tamper.ChecksumCreator
30 check-against-checksum=com.sun.identity.diagnostic.plugin.services.tamper.CheckSumValidator
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/java/com/sun/identity/diagnostic/plugin/services/tamper/
H A DCheckSumValidator.java60 Properties checksum = TamperDetectionUtils.getChecksum(
79 String newValue = checksum.getProperty(key);
82 checksum.remove(key);
88 if (!checksum.isEmpty() || !fileLost.isEmpty()) {
93 if (!checksum.isEmpty()) {
97 for (Enumeration e = checksum.propertyNames();
H A DChecksumCreator.java56 toolOutWriter.printMessage("tamper-checksum-creating");
58 Properties checksum = TamperDetectionUtils.getChecksum(
63 checksum.store(fout, "");
64 toolOutWriter.printStatusMsg(true , "tamper-checksum-created");
71 toolOutWriter.printStatusMsg(false , "tamper-checksum-created");
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/resources/
H A DTamperDetection.properties40 tamper-checksum-created=Checksum creation
41 tamper-checksum-creating=Creating the checksum ...
H A DTamperDetection_de.properties40 tamper-checksum-created=Erstellen der Pr\u00fcfsumme
41 tamper-checksum-creating=Erstellen der Pr\u00fcfsumme...
H A DTamperDetection_es.properties40 tamper-checksum-created=Creaci\u00f3n de suma de comprobaci\u00f3n
41 tamper-checksum-creating=Creando la suma de comprobaci\u00f3n...
H A DTamperDetection_fr.properties40 tamper-checksum-created=Cr\u00e9ation d\u2019une somme de contr\u00f4le
41 tamper-checksum-creating=Cr\u00e9ation de la somme de contr\u00f4le ...
H A DTamperDetection_zh.properties40 tamper-checksum-created=\u521b\u5efa\u6821\u9a8c\u548c
41 tamper-checksum-creating=\u6b63\u5728\u521b\u5efa\u6821\u9a8c\u548c...
H A DTamperDetection_zh_TW.properties40 tamper-checksum-created=\u5efa\u7acb\u7e3d\u548c\u6aa2\u67e5
41 tamper-checksum-creating=\u6b63\u5728\u5efa\u7acb\u7e3d\u548c\u6aa2\u67e5...
H A DTamperDetection_ja.properties40 tamper-checksum-created=\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u306e\u4f5c\u6210
41 tamper-checksum-creating=\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059...
H A DTamperDetection_ko.properties40 tamper-checksum-created=\uccb4\ud06c\uc12c \uc0dd\uc131
41 tamper-checksum-creating=\uccb4\ud06c\uc12c\uc744 \uc0dd\uc131\ud558\ub294 \uc911...
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/
H A DEntityTagVirtualAttributeProvider.java135 // Determine which checksum algorithm to use.
353 // Convert the checksum value to a hex string.
354 long checksum = checksummer.getValue();
359 final byte b = (byte) (checksum & 0xFF);
367 checksum >>>= 8;

Completed in 151 milliseconds

123