jdk/src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java
changeset 37593 824750ada3d6
parent 32649 2ee9017c7597
child 37781 71ed5645f17c
equal deleted inserted replaced
37592:c80f098887f4 37593:824750ada3d6
    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() {