jdk/src/java.base/share/classes/java/security/cert/CertPathValidator.java
changeset 33241 27eb2d6abda9
parent 32649 2ee9017c7597
child 37348 9ccec3170d5e
equal deleted inserted replaced
33240:346a88a88fee 33241:27eb2d6abda9
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   141      * Provider that supports the specified algorithm is returned.
   141      * Provider that supports the specified algorithm is returned.
   142      *
   142      *
   143      * <p> Note that the list of registered providers may be retrieved via
   143      * <p> Note that the list of registered providers may be retrieved via
   144      * the {@link Security#getProviders() Security.getProviders()} method.
   144      * the {@link Security#getProviders() Security.getProviders()} method.
   145      *
   145      *
       
   146      * @implNote
       
   147      * The JDK Reference Implementation additionally uses the
       
   148      * {@code jdk.security.provider.preferred} property to determine
       
   149      * the preferred provider order for the specified algorithm. This
       
   150      * may be different than the order of providers returned by
       
   151      * {@link Security#getProviders() Security.getProviders()}.
       
   152      *
   146      * @param algorithm the name of the requested {@code CertPathValidator}
   153      * @param algorithm the name of the requested {@code CertPathValidator}
   147      *  algorithm. See the CertPathValidator section in the <a href=
   154      *  algorithm. See the CertPathValidator section in the <a href=
   148      *  "{@docRoot}/../technotes/guides/security/StandardNames.html#CertPathValidator">
   155      *  "{@docRoot}/../technotes/guides/security/StandardNames.html#CertPathValidator">
   149      * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
   156      * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
   150      * for information about standard algorithm names.
   157      * for information about standard algorithm names.