CertPathValidatorResult

  • CertPathValidatorResult is an interface defining the outcome of a certification path validator algorithm.

  • It serves as a common type for all results from the CertPathValidator.validate method, ensuring type safety.

  • Implementations include PKIXCertPathBuilderResult and PKIXCertPathValidatorResult representing successful path building and validation respectively.

  • This interface provides a clone method to create independent copies of the result object.

public interface CertPathValidatorResult implements Cloneable
Known Indirect Subclasses

A specification of the result of a certification path validator algorithm.

The purpose of this interface is to group (and provide type safety for) all certification path validator results. All results returned by the CertPathValidator.validate method must implement this interface.

Public Method Summary

abstract Object
clone()
Makes a copy of this CertPathValidatorResult.

Public Methods

public abstract Object clone ()

Makes a copy of this CertPathValidatorResult. Changes to the copy will not affect the original and vice versa.

Returns
  • a copy of this CertPathValidatorResult