Produced by Araxis Merge on 9/25/2018 2:13:11 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\javax\crypto | SecretKey.java | Mon Jan 22 14:46:52 2018 UTC |
2 | build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\javax\crypto | SecretKey.java | Wed Sep 12 17:18:38 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 4 | 130 |
Changed | 3 | 6 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | /* | |
2 | * Copyrig ht (c) 199 7, 2013, O racle and/ or its aff iliates. A ll rights reserved. | |
3 | * DO NOT ALTER OR R EMOVE COPY RIGHT NOTI CES OR THI S FILE HEA DER. | |
4 | * | |
5 | * This co de is free software; you can r edistribut e it and/o r modify i t | |
6 | * under t he terms o f the GNU General Pu blic Licen se version 2 only, a s | |
7 | * publish ed by the Free Softw are Founda tion. Ora cle design ates this | |
8 | * particu lar file a s subject to the "Cl asspath" e xception a s provided | |
9 | * by Orac le in the LICENSE fi le that ac companied this code. | |
10 | * | |
11 | * This co de is dist ributed in the hope that it wi ll be usef ul, but WI THOUT | |
12 | * ANY WAR RANTY; wit hout even the implie d warranty of MERCHA NTABILITY or | |
13 | * FITNESS FOR A PAR TICULAR PU RPOSE. Se e the GNU General Pu blic Licen se | |
14 | * version 2 for mor e details (a copy is included in the LIC ENSE file that | |
15 | * accompa nied this code). | |
16 | * | |
17 | * You sho uld have r eceived a copy of th e GNU Gene ral Public License v ersion | |
18 | * 2 along with this work; if not, write to the Fr ee Softwar e Foundati on, | |
19 | * Inc., 5 1 Franklin St, Fifth Floor, Bo ston, MA 0 2110-1301 USA. | |
20 | * | |
21 | * Please contact Or acle, 500 Oracle Par kway, Redw ood Shores , CA 94065 USA | |
22 | * or visi t www.orac le.com if you need a dditional informatio n or have any | |
23 | * questio ns. | |
24 | */ | |
25 | ||
26 | package ja vax.crypto ; | |
27 | ||
28 | /** | |
29 | * A PW (symmetric ) key. | |
30 | * The pur pose of th is interfa ce is to g roup (and provide ty pe safety | |
31 | * for) al l PW key interf aces. | |
32 | * <p> | |
33 | * Provide r implemen tations of this inte rface must overwrite the | |
34 | * {@code equals} an d {@code h ashCode} m ethods inh erited fro m | |
35 | * {@link java.lang. Object}, s o that PW keys are c ompared ba sed on | |
36 | * their u nderlying key materi al and not based on reference. | |
37 | * Impleme ntations s hould over ride the d efault {@c ode destro y} and | |
38 | * {@code isDestroye d} methods from the | |
39 | * {@link javax.secu rity.auth. Destroyabl e} interfa ce to enab le | |
40 | * sensiti ve key inf ormation t o be destr oyed, clea red, or in the case | |
41 | * where s uch inform ation is i mmutable, unreferenc ed. | |
42 | * Finally , since {@ code Secre tKey} is { @code Seri alizable}, implement ations | |
43 | * should also overr ide | |
44 | * {@link java.io.Ob jectOutput Stream#wri teObject(j ava.lang.O bject)} | |
45 | * to prev ent keys t hat have b een destro yed from b eing seria lized. | |
46 | * | |
47 | * <p>Keys that impl ement this interface return th e string { @code RAW} | |
48 | * as thei r encoding format (s ee {@code getFormat} ), and ret urn the | |
49 | * raw key bytes as the result of a {@co de getEnco ded} metho d call. (T he | |
50 | * {@code getFormat} and {@cod e getEncod ed} method s are inhe rited | |
51 | * from th e {@link j ava.securi ty.Key} pa rent inter face.) | |
52 | * | |
53 | * @author Jan Luehe | |
54 | * | |
55 | * @see Se cretKeyFac tory | |
56 | * @see Ci pher | |
57 | * @since 1.4 | |
58 | */ | |
59 | ||
60 | public int erface Sec retKey ext ends | |
61 | java.s ecurity.Ke y, javax.s ecurity.au th.Destroy able { | |
62 | ||
63 | /** | |
64 | * The class fin gerprint t hat is set to indica te seriali zation | |
65 | * com patibility since J2S E 1.4. | |
66 | */ | |
67 | static final lon g serialVe rsionUID = -47958787 0959514695 2L; | |
68 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.