@@ -265,78 +265,78 @@ static SSLKeyExchange valueOf(NamedGroup namedGroup) {
265
265
}
266
266
267
267
private static class SSLKeyExRSA {
268
- private static SSLKeyExchange KE = new SSLKeyExchange (
268
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
269
269
List .of (X509Authentication .RSA ), T12KeyAgreement .RSA );
270
270
}
271
271
272
272
private static class SSLKeyExRSAExport {
273
- private static SSLKeyExchange KE = new SSLKeyExchange (
273
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
274
274
List .of (X509Authentication .RSA ), T12KeyAgreement .RSA_EXPORT );
275
275
}
276
276
277
277
private static class SSLKeyExDHEDSS {
278
- private static SSLKeyExchange KE = new SSLKeyExchange (
278
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
279
279
List .of (X509Authentication .DSA ), T12KeyAgreement .DHE );
280
280
}
281
281
282
282
private static class SSLKeyExDHEDSSExport {
283
- private static SSLKeyExchange KE = new SSLKeyExchange (
283
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
284
284
List .of (X509Authentication .DSA ), T12KeyAgreement .DHE_EXPORT );
285
285
}
286
286
287
287
private static class SSLKeyExDHERSA {
288
- private static SSLKeyExchange KE = new SSLKeyExchange (
288
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
289
289
List .of (X509Authentication .RSA ), T12KeyAgreement .DHE );
290
290
}
291
291
292
292
private static class SSLKeyExDHERSAOrPSS {
293
- private static SSLKeyExchange KE = new SSLKeyExchange (
293
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
294
294
List .of (X509Authentication .RSA_OR_PSS ), T12KeyAgreement .DHE );
295
295
}
296
296
297
297
private static class SSLKeyExDHERSAExport {
298
- private static SSLKeyExchange KE = new SSLKeyExchange (
298
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
299
299
List .of (X509Authentication .RSA ), T12KeyAgreement .DHE_EXPORT );
300
300
}
301
301
302
302
private static class SSLKeyExDHANON {
303
- private static SSLKeyExchange KE = new SSLKeyExchange (
303
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
304
304
null , T12KeyAgreement .DHE );
305
305
}
306
306
307
307
private static class SSLKeyExDHANONExport {
308
- private static SSLKeyExchange KE = new SSLKeyExchange (
308
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
309
309
null , T12KeyAgreement .DHE_EXPORT );
310
310
}
311
311
312
312
private static class SSLKeyExECDHECDSA {
313
- private static SSLKeyExchange KE = new SSLKeyExchange (
313
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
314
314
List .of (X509Authentication .EC ), T12KeyAgreement .ECDH );
315
315
}
316
316
317
317
private static class SSLKeyExECDHRSA {
318
- private static SSLKeyExchange KE = new SSLKeyExchange (
318
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
319
319
List .of (X509Authentication .EC ), T12KeyAgreement .ECDH );
320
320
}
321
321
322
322
private static class SSLKeyExECDHEECDSA {
323
- private static SSLKeyExchange KE = new SSLKeyExchange (
323
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
324
324
List .of (X509Authentication .EC , X509Authentication .EDDSA ),
325
325
T12KeyAgreement .ECDHE );
326
326
}
327
327
328
328
private static class SSLKeyExECDHERSA {
329
- private static SSLKeyExchange KE = new SSLKeyExchange (
329
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
330
330
List .of (X509Authentication .RSA ), T12KeyAgreement .ECDHE );
331
331
}
332
332
333
333
private static class SSLKeyExECDHERSAOrPSS {
334
- private static SSLKeyExchange KE = new SSLKeyExchange (
334
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
335
335
List .of (X509Authentication .RSA_OR_PSS ), T12KeyAgreement .ECDHE );
336
336
}
337
337
338
338
private static class SSLKeyExECDHANON {
339
- private static SSLKeyExchange KE = new SSLKeyExchange (
339
+ private static final SSLKeyExchange KE = new SSLKeyExchange (
340
340
null , T12KeyAgreement .ECDHE );
341
341
}
342
342
0 commit comments