jdk/src/share/classes/sun/security/provider/certpath/ForwardBuilder.java
changeset 22977 f8f315760941
parent 22107 3e6b0718041e
equal deleted inserted replaced
22958:273ddc5c37f3 22977:f8f315760941
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2014, 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
   267              * Facilitate certification path construction with authority
   267              * Facilitate certification path construction with authority
   268              * key identifier and subject key identifier.
   268              * key identifier and subject key identifier.
   269              */
   269              */
   270             AuthorityKeyIdentifierExtension akidext =
   270             AuthorityKeyIdentifierExtension akidext =
   271                     currentState.cert.getAuthorityKeyIdentifierExtension();
   271                     currentState.cert.getAuthorityKeyIdentifierExtension();
   272             caSelector.parseAuthorityKeyIdentifierExtension(akidext);
   272             caSelector.setSkiAndSerialNumber(akidext);
   273 
   273 
   274             /*
   274             /*
   275              * check the validity period
   275              * check the validity period
   276              */
   276              */
   277             caSelector.setValidityPeriod(currentState.cert.getNotBefore(),
   277             caSelector.setValidityPeriod(currentState.cert.getNotBefore(),