equal
deleted
inserted
replaced
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) { |