src/java.base/share/classes/sun/security/util/SecurityProviderConstants.java
changeset 48572 1820a65c4e59
parent 47421 f9e03aef3a49
child 50204 3195a713e24d
equal deleted inserted replaced
48571:cd23d1f99660 48572:1820a65c4e59
    62     private static final String KEY_LENGTH_PROP =
    62     private static final String KEY_LENGTH_PROP =
    63         "jdk.security.defaultKeySize";
    63         "jdk.security.defaultKeySize";
    64     static {
    64     static {
    65         String keyLengthStr = GetPropertyAction.privilegedGetProperty
    65         String keyLengthStr = GetPropertyAction.privilegedGetProperty
    66             (KEY_LENGTH_PROP);
    66             (KEY_LENGTH_PROP);
    67         int dsaKeySize = 1024;
    67         int dsaKeySize = 2048;
    68         int rsaKeySize = 2048;
    68         int rsaKeySize = 2048;
    69         int dhKeySize = 2048;
    69         int dhKeySize = 2048;
    70         int ecKeySize = 256;
    70         int ecKeySize = 256;
    71 
    71 
    72         if (keyLengthStr != null) {
    72         if (keyLengthStr != null) {