2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 391N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 391N/A * This code is free software; you can redistribute it and/or modify it 391N/A * under the terms of the GNU General Public License version 2 only, as 391N/A * published by the Free Software Foundation. 391N/A * This code is distributed in the hope that it will be useful, but WITHOUT 391N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 391N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 391N/A * version 2 for more details (a copy is included in the LICENSE file that 391N/A * accompanied this code). 391N/A * You should have received a copy of the GNU General Public License version 391N/A * 2 along with this work; if not, write to the Free Software Foundation, 391N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 5870N/A// This test case relies on updated static security property, no way to re-use 391N/A * @library ../../../testlibrary 391N/A * @summary make sure a PKIX CertPathBuilder builds a path to an 391N/A * end entity certificate when the setBasicConstraints method of the 391N/A * X509CertSelector of the targetConstraints PKIXBuilderParameters 391N/A * parameter is set to -2. 5870N/A // reset the security property to make sure that the algorithms 5870N/A // and keys used in this test are not disabled. 391N/A // check that first certificate is an EE cert