equal
deleted
inserted
replaced
297 * @see java.security.Security security properties |
297 * @see java.security.Security security properties |
298 * @return the default {@code CertPathBuilder} type as specified |
298 * @return the default {@code CertPathBuilder} type as specified |
299 * by the {@code certpathbuilder.type} security property, or the string |
299 * by the {@code certpathbuilder.type} security property, or the string |
300 * {@literal "PKIX"} if no such property exists. |
300 * {@literal "PKIX"} if no such property exists. |
301 */ |
301 */ |
302 public final static String getDefaultType() { |
302 public static final String getDefaultType() { |
303 String cpbtype = |
303 String cpbtype = |
304 AccessController.doPrivileged(new PrivilegedAction<>() { |
304 AccessController.doPrivileged(new PrivilegedAction<>() { |
305 public String run() { |
305 public String run() { |
306 return Security.getProperty(CPB_TYPE); |
306 return Security.getProperty(CPB_TYPE); |
307 } |
307 } |