equal
deleted
inserted
replaced
71 * @see java.security.Security security properties |
71 * @see java.security.Security security properties |
72 * @return the default algorithm name as specified by the |
72 * @return the default algorithm name as specified by the |
73 * {@code ssl.TrustManagerFactory.algorithm} security property, or an |
73 * {@code ssl.TrustManagerFactory.algorithm} security property, or an |
74 * implementation-specific default if no such property exists. |
74 * implementation-specific default if no such property exists. |
75 */ |
75 */ |
76 public final static String getDefaultAlgorithm() { |
76 public static final String getDefaultAlgorithm() { |
77 String type; |
77 String type; |
78 type = AccessController.doPrivileged(new PrivilegedAction<>() { |
78 type = AccessController.doPrivileged(new PrivilegedAction<>() { |
79 @Override |
79 @Override |
80 public String run() { |
80 public String run() { |
81 return Security.getProperty( |
81 return Security.getProperty( |