equal
deleted
inserted
replaced
309 * @see java.security.Security security properties |
309 * @see java.security.Security security properties |
310 * @return the default {@code CertPathValidator} type as specified |
310 * @return the default {@code CertPathValidator} type as specified |
311 * by the {@code certpathvalidator.type} security property, or the string |
311 * by the {@code certpathvalidator.type} security property, or the string |
312 * {@literal "PKIX"} if no such property exists. |
312 * {@literal "PKIX"} if no such property exists. |
313 */ |
313 */ |
314 public final static String getDefaultType() { |
314 public static final String getDefaultType() { |
315 String cpvtype = |
315 String cpvtype = |
316 AccessController.doPrivileged(new PrivilegedAction<>() { |
316 AccessController.doPrivileged(new PrivilegedAction<>() { |
317 public String run() { |
317 public String run() { |
318 return Security.getProperty(CPV_TYPE); |
318 return Security.getProperty(CPV_TYPE); |
319 } |
319 } |