equal
deleted
inserted
replaced
82 */ |
82 */ |
83 public static final int MAX_MODLEN_RESTRICT_EXP = 3072; |
83 public static final int MAX_MODLEN_RESTRICT_EXP = 3072; |
84 public static final int MAX_RESTRICTED_EXPLEN = 64; |
84 public static final int MAX_RESTRICTED_EXPLEN = 64; |
85 |
85 |
86 private static final boolean restrictExpLen = |
86 private static final boolean restrictExpLen = |
87 "true".equalsIgnoreCase(AccessController.doPrivileged( |
87 "true".equalsIgnoreCase(GetPropertyAction.getProperty( |
88 new GetPropertyAction( |
88 "sun.security.rsa.restrictRSAExponent", "true")); |
89 "sun.security.rsa.restrictRSAExponent", "true"))); |
|
90 |
89 |
91 // instance used for static translateKey(); |
90 // instance used for static translateKey(); |
92 private static final RSAKeyFactory INSTANCE = new RSAKeyFactory(); |
91 private static final RSAKeyFactory INSTANCE = new RSAKeyFactory(); |
93 |
92 |
94 public RSAKeyFactory() { |
93 public RSAKeyFactory() { |