jdk/src/share/classes/java/security/cert/CertPathBuilderResult.java
changeset 18551 882a3948c6e6
parent 5506 202f599c92aa
equal deleted inserted replaced
18550:6d0f51c99930 18551:882a3948c6e6
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2013, 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
    28 /**
    28 /**
    29  * A specification of the result of a certification path builder algorithm.
    29  * A specification of the result of a certification path builder algorithm.
    30  * All results returned by the {@link CertPathBuilder#build
    30  * All results returned by the {@link CertPathBuilder#build
    31  * CertPathBuilder.build} method must implement this interface.
    31  * CertPathBuilder.build} method must implement this interface.
    32  * <p>
    32  * <p>
    33  * At a minimum, a <code>CertPathBuilderResult</code> contains the
    33  * At a minimum, a {@code CertPathBuilderResult} contains the
    34  * <code>CertPath</code> built by the <code>CertPathBuilder</code> instance.
    34  * {@code CertPath} built by the {@code CertPathBuilder} instance.
    35  * Implementations of this interface may add methods to return implementation
    35  * Implementations of this interface may add methods to return implementation
    36  * or algorithm specific information, such as debugging information or
    36  * or algorithm specific information, such as debugging information or
    37  * certification path validation results.
    37  * certification path validation results.
    38  * <p>
    38  * <p>
    39  * <b>Concurrent Access</b>
    39  * <b>Concurrent Access</b>
    52 public interface CertPathBuilderResult extends Cloneable {
    52 public interface CertPathBuilderResult extends Cloneable {
    53 
    53 
    54     /**
    54     /**
    55      * Returns the built certification path.
    55      * Returns the built certification path.
    56      *
    56      *
    57      * @return the certification path (never <code>null</code>)
    57      * @return the certification path (never {@code null})
    58      */
    58      */
    59     CertPath getCertPath();
    59     CertPath getCertPath();
    60 
    60 
    61     /**
    61     /**
    62      * Makes a copy of this <code>CertPathBuilderResult</code>. Changes to the
    62      * Makes a copy of this {@code CertPathBuilderResult}. Changes to the
    63      * copy will not affect the original and vice versa.
    63      * copy will not affect the original and vice versa.
    64      *
    64      *
    65      * @return a copy of this <code>CertPathBuilderResult</code>
    65      * @return a copy of this {@code CertPathBuilderResult}
    66      */
    66      */
    67     Object clone();
    67     Object clone();
    68 }
    68 }