Produced by Araxis Merge on 9/25/2018 2:13:25 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\sun\security\ssl | ExtensionType.java | Mon Jan 22 14:46:54 2018 UTC |
2 | build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\sun\security\ssl | ExtensionType.java | Wed Sep 12 17:54:35 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 210 |
Changed | 1 | 2 |
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) 200 6, 2012, 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 su n.security .ssl; | |
27 | ||
28 | import jav a.util.Arr ayList; | |
29 | import jav a.util.Lis t; | |
30 | ||
31 | final clas s Extensio nType { | |
32 | ||
33 | final int id; | |
34 | final String nam e; | |
35 | ||
36 | privat e Extensio nType(int id, String name) { | |
37 | th is.id = id ; | |
38 | th is.name = name; | |
39 | } | |
40 | ||
41 | @Overr ide | |
42 | public String to String() { | |
43 | re turn name; | |
44 | } | |
45 | ||
46 | static List<Exte nsionType> knownExte nsions = n ew ArrayLi st<Extensi onType>(14 ); | |
47 | ||
48 | static Extension Type get(i nt id) { | |
49 | fo r (Extensi onType ext : knownEx tensions) { | |
50 | if (ext. id == id) { | |
51 | retu rn ext; | |
52 | } | |
53 | } | |
54 | re turn new E xtensionTy pe(id, "ty pe_" + id) ; | |
55 | } | |
56 | ||
57 | privat e static E xtensionTy pe e(int i d, String name) { | |
58 | Ex tensionTyp e ext = ne w Extensio nType(id, name); | |
59 | kn ownExtensi ons.add(ex t); | |
60 | re turn ext; | |
61 | } | |
62 | ||
63 | // ext ensions de fined in R FC 3546 | |
64 | final static Ext ensionType EXT_SERVE R_NAME = | |
65 | e(0x0000 , "server_ name"); / / IANA reg istry valu e: 0 | |
66 | final static Ext ensionType EXT_MAX_F RAGMENT_LE NGTH = | |
67 | e(0x0001 , "max_fra gment_leng th"); / / IANA reg istry valu e: 1 | |
68 | final static Ext ensionType EXT_CLIEN T_CERTIFIC ATE_URL = | |
69 | e(0x0002 , "client_ certificat e_url"); / / IANA reg istry valu e: 2 | |
70 | final static Ext ensionType EXT_TRUST ED_CA_KEYS = | |
71 | e(0x0003 , "trusted _ca_keys") ; / / IANA reg istry valu e: 3 | |
72 | final static Ext ensionType EXT_TRUNC ATED_HMAC = | |
73 | e(0x0004 , "truncat ed_hmac"); / / IANA reg istry valu e: 4 | |
74 | final static Ext ensionType EXT_STATU S_REQUEST = | |
75 | e(0x0005 , "status_ request"); / / IANA reg istry valu e: 5 | |
76 | ||
77 | // ext ensions de fined in R FC 4681 | |
78 | final static Ext ensionType EXT_USER_ MAPPING = | |
79 | e(0x0006 , "user_ma pping"); / / IANA reg istry valu e: 6 | |
80 | ||
81 | // ext ensions de fined in R FC 5081 | |
82 | final static Ext ensionType EXT_CERT_ TYPE = | |
83 | e(0x0009 , "cert_ty pe"); / / IANA reg istry valu e: 9 | |
84 | ||
85 | // ext ensions de fined in R FC 4492 (E CC) | |
86 | final static Ext ensionType EXT_ELLIP TIC_CURVES = | |
87 | e(0x000A , "ellipti c_curves") ; / / IANA reg istry valu e: 10 | |
88 | final static Ext ensionType EXT_EC_PO INT_FORMAT S = | |
89 | e(0x000B , "ec_poin t_formats" ); / / IANA reg istry valu e: 11 | |
90 | ||
91 | // ext ensions de fined in R FC 5054 | |
92 | final static Ext ensionType EXT_SRP = | |
93 | e(0x000C , "srp"); / / IANA reg istry valu e: 12 | |
94 | ||
95 | // ext ensions de fined in R FC 5246 | |
96 | final static Ext ensionType EXT_SIGNA TURE_ALGOR ITHMS = | |
97 | e(0x000D , "signatu re_algorit hms"); / / IANA reg istry valu e: 13 | |
98 | ||
99 | // ext ensions de fined in R FC 7627 | |
100 | static final Ext ensionType EXT_EXTEN DED_MASTER _SECRET = | |
101 | e(0x0017, "extended_ master_ PW "); // IAN A registry value: 23 | |
102 | ||
103 | // ext ensions de fined in R FC 5746 | |
104 | final static Ext ensionType EXT_RENEG OTIATION_I NFO = | |
105 | e(0xff01 , "renegot iation_inf o"); / / IANA reg istry valu e: 65281 | |
106 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.