jsdsi
Class CertPathValidatorResult

java.lang.Object
  extended byjsdsi.CertPathValidatorResult
All Implemented Interfaces:
java.security.cert.CertPathValidatorResult, java.lang.Cloneable

public class CertPathValidatorResult
extends java.lang.Object
implements java.security.cert.CertPathValidatorResult

The result of a call to the cert path validator: returns true to isOk() if successful; otherwise getCause() returns the cause of the failure.

Version:
$Revision: 1.1.6.1 $ $Date: 2005/11/08 03:12:52 $
Author:
Sameer Ajmani
See Also:
CertPathValidator

Constructor Summary
CertPathValidatorResult(java.security.GeneralSecurityException e)
          Creates a new CertPathValidatorResult from a given GeneralSecurityException.
 
Method Summary
 java.lang.Object clone()
           
 java.security.GeneralSecurityException getCause()
          Returns the exception that has been used creating this CertPathValidatorResult.
 boolean isOk()
          Checks if the no exception has been used creating this CertPathValidatorResult.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertPathValidatorResult

public CertPathValidatorResult(java.security.GeneralSecurityException e)
Creates a new CertPathValidatorResult from a given GeneralSecurityException.

Parameters:
e - GeneralSecurityException to create the object from.
Method Detail

isOk

public boolean isOk()
Checks if the no exception has been used creating this CertPathValidatorResult.

Returns:
true if the exception that has been used for creating this CertPathValidatorResult was null, returns false otherwise.

getCause

public java.security.GeneralSecurityException getCause()
Returns the exception that has been used creating this CertPathValidatorResult.

Returns:
the GeneralSecurityException that has been used for creating this CertPathValidatorResult.

clone

public java.lang.Object clone()
Specified by:
clone in interface java.security.cert.CertPathValidatorResult
See Also:
Object.clone()


Copyright © 2002-2006 JSDSI. All Rights Reserved.