src/share/classes/java/security/cert/CertPathBuilderResult.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 28,39 ****
/**
* A specification of the result of a certification path builder algorithm.
* All results returned by the {@link CertPathBuilder#build
* CertPathBuilder.build} method must implement this interface.
* <p>
! * At a minimum, a <code>CertPathBuilderResult</code> contains the
! * <code>CertPath</code> built by the <code>CertPathBuilder</code> instance.
* Implementations of this interface may add methods to return implementation
* or algorithm specific information, such as debugging information or
* certification path validation results.
* <p>
* <b>Concurrent Access</b>
--- 28,39 ----
/**
* A specification of the result of a certification path builder algorithm.
* All results returned by the {@link CertPathBuilder#build
* CertPathBuilder.build} method must implement this interface.
* <p>
! * At a minimum, a {@code CertPathBuilderResult} contains the
! * {@code CertPath} built by the {@code CertPathBuilder} instance.
* Implementations of this interface may add methods to return implementation
* or algorithm specific information, such as debugging information or
* certification path validation results.
* <p>
* <b>Concurrent Access</b>
*** 52,68 ****
public interface CertPathBuilderResult extends Cloneable {
/**
* Returns the built certification path.
*
! * @return the certification path (never <code>null</code>)
*/
CertPath getCertPath();
/**
! * Makes a copy of this <code>CertPathBuilderResult</code>. Changes to the
* copy will not affect the original and vice versa.
*
! * @return a copy of this <code>CertPathBuilderResult</code>
*/
Object clone();
}
--- 52,68 ----
public interface CertPathBuilderResult extends Cloneable {
/**
* Returns the built certification path.
*
! * @return the certification path (never {@code null})
*/
CertPath getCertPath();
/**
! * Makes a copy of this {@code CertPathBuilderResult}. Changes to the
* copy will not affect the original and vice versa.
*
! * @return a copy of this {@code CertPathBuilderResult}
*/
Object clone();
}