1 /* |
1 /* |
2 * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2010, 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 |
81 * certificate representing the {@link TrustAnchor TrustAnchor} should not be |
81 * certificate representing the {@link TrustAnchor TrustAnchor} should not be |
82 * included in the certification path. Unvalidated X.509 <code>CertPath</code>s |
82 * included in the certification path. Unvalidated X.509 <code>CertPath</code>s |
83 * may not follow these conventions. PKIX <code>CertPathValidator</code>s will |
83 * may not follow these conventions. PKIX <code>CertPathValidator</code>s will |
84 * detect any departure from these conventions that cause the certification |
84 * detect any departure from these conventions that cause the certification |
85 * path to be invalid and throw a <code>CertPathValidatorException</code>. |
85 * path to be invalid and throw a <code>CertPathValidatorException</code>. |
|
86 * |
|
87 * <p> Every implementation of the Java platform is required to support the |
|
88 * following standard <code>CertPath</code> encodings: |
|
89 * <ul> |
|
90 * <li><tt>PKCS7</tt></li> |
|
91 * <li><tt>PkiPath</tt></li> |
|
92 * </ul> |
|
93 * These encodings are described in the <a href= |
|
94 * "{@docRoot}/../technotes/guides/security/StandardNames.html#CertPathEncodings"> |
|
95 * CertPath Encodings section</a> of the |
|
96 * Java Cryptography Architecture Standard Algorithm Name Documentation. |
|
97 * Consult the release documentation for your implementation to see if any |
|
98 * other encodings are supported. |
86 * <p> |
99 * <p> |
87 * <b>Concurrent Access</b> |
100 * <b>Concurrent Access</b> |
88 * <p> |
101 * <p> |
89 * All <code>CertPath</code> objects must be thread-safe. That is, multiple |
102 * All <code>CertPath</code> objects must be thread-safe. That is, multiple |
90 * threads may concurrently invoke the methods defined in this class on a |
103 * threads may concurrently invoke the methods defined in this class on a |