mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8291509: Minor cleanup could be done in sun.security
Reviewed-by: weijun
This commit is contained in:
parent
6beeb8471c
commit
4cec141a90
298 changed files with 2650 additions and 3262 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -129,7 +129,7 @@ final class ECPointFormatsExtension {
|
|||
}
|
||||
}
|
||||
|
||||
private static enum ECPointFormat {
|
||||
private enum ECPointFormat {
|
||||
UNCOMPRESSED ((byte)0, "uncompressed"),
|
||||
ANSIX962_COMPRESSED_PRIME ((byte)1, "ansiX962_compressed_prime"),
|
||||
FMT_ANSIX962_COMPRESSED_CHAR2 ((byte)2, "ansiX962_compressed_char2");
|
||||
|
@ -137,7 +137,7 @@ final class ECPointFormatsExtension {
|
|||
final byte id;
|
||||
final String name;
|
||||
|
||||
private ECPointFormat(byte id, String name) {
|
||||
ECPointFormat(byte id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
@ -153,7 +153,7 @@ final class ECPointFormatsExtension {
|
|||
}
|
||||
|
||||
/**
|
||||
* Network data producer of a "ec_point_formats" extension in
|
||||
* Network data producer of an "ec_point_formats" extension in
|
||||
* the ClientHello handshake message.
|
||||
*/
|
||||
private static final
|
||||
|
@ -202,7 +202,7 @@ final class ECPointFormatsExtension {
|
|||
}
|
||||
|
||||
/**
|
||||
* Network data consumer of a "ec_point_formats" extension in
|
||||
* Network data consumer of an "ec_point_formats" extension in
|
||||
* the ClientHello handshake message.
|
||||
*/
|
||||
private static final
|
||||
|
@ -247,7 +247,7 @@ final class ECPointFormatsExtension {
|
|||
}
|
||||
|
||||
/**
|
||||
* Network data consumer of a "ec_point_formats" extension in
|
||||
* Network data consumer of an "ec_point_formats" extension in
|
||||
* the ServerHello handshake message.
|
||||
*/
|
||||
private static final
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue