jdk/src/share/classes/sun/security/provider/certpath/PKIXCertPathValidator.java
changeset 7040 659824c2a550
parent 5506 202f599c92aa
child 8163 d9bcc1208691
equal deleted inserted replaced
7039:6464c8e62a18 7040:659824c2a550
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2009, 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
   273             PolicyNodeImpl rootNode) throws CertPathValidatorException
   273             PolicyNodeImpl rootNode) throws CertPathValidatorException
   274     {
   274     {
   275         int certPathLen = certList.size();
   275         int certPathLen = certList.size();
   276 
   276 
   277         basicChecker = new BasicChecker(anchor, testDate, sigProvider, false);
   277         basicChecker = new BasicChecker(anchor, testDate, sigProvider, false);
   278         AlgorithmChecker algorithmChecker= AlgorithmChecker.getInstance();
   278         AlgorithmChecker algorithmChecker = new AlgorithmChecker(anchor);
   279         KeyChecker keyChecker = new KeyChecker(certPathLen,
   279         KeyChecker keyChecker = new KeyChecker(certPathLen,
   280             pkixParam.getTargetCertConstraints());
   280             pkixParam.getTargetCertConstraints());
   281         ConstraintsChecker constraintsChecker =
   281         ConstraintsChecker constraintsChecker =
   282             new ConstraintsChecker(certPathLen);
   282             new ConstraintsChecker(certPathLen);
   283 
   283