< prev index next >

src/java.base/share/classes/java/security/cert/CertPathValidator.java

Print this page

        

*** 311,321 **** * by the {@code certpathvalidator.type} security property, or the string * {@literal "PKIX"} if no such property exists. */ public final static String getDefaultType() { String cpvtype = ! AccessController.doPrivileged(new PrivilegedAction<String>() { public String run() { return Security.getProperty(CPV_TYPE); } }); return (cpvtype == null) ? "PKIX" : cpvtype; --- 311,321 ---- * by the {@code certpathvalidator.type} security property, or the string * {@literal "PKIX"} if no such property exists. */ public final static String getDefaultType() { String cpvtype = ! AccessController.doPrivileged(new PrivilegedAction<>() { public String run() { return Security.getProperty(CPV_TYPE); } }); return (cpvtype == null) ? "PKIX" : cpvtype;
< prev index next >