equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2019, 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 |
272 // certs' extensions, including checks by any PKIXCertPathCheckers |
272 // certs' extensions, including checks by any PKIXCertPathCheckers |
273 // included in the PKIXParameters, so the extra checks would be |
273 // included in the PKIXParameters, so the extra checks would be |
274 // redundant. |
274 // redundant. |
275 boolean checkUnresolvedCritExts = |
275 boolean checkUnresolvedCritExts = |
276 (type == TYPE_PKIX) ? false : true; |
276 (type == TYPE_PKIX) ? false : true; |
277 endEntityChecker.check(chain[0], parameter, |
277 endEntityChecker.check(chain, parameter, |
278 checkUnresolvedCritExts, |
278 checkUnresolvedCritExts); |
279 chain[chain.length-1]); |
|
280 } |
279 } |
281 |
280 |
282 return chain; |
281 return chain; |
283 } |
282 } |
284 |
283 |