jsdsi
Class CertPathParameters

java.lang.Object
  extended byjsdsi.CertPathParameters
All Implemented Interfaces:
java.security.cert.CertPathParameters, java.lang.Cloneable
Direct Known Subclasses:
IssuerCertPathParameters, SubjectCertPathParameters

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

Parameters to the cert path builder and validator. Specifies the statement (a SPKI/SDSI cert) that needs to be proved or validated and the certificate store from which to fetch certificates.

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

Constructor Summary
CertPathParameters(Cert c, java.security.cert.CertStore s)
          Creates a new CertPathParameters object from a given Cert and a given CertStore.
 
Method Summary
 java.lang.Object clone()
           
 Cert getCert()
           
 java.security.cert.CertStore getStore()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertPathParameters

public CertPathParameters(Cert c,
                          java.security.cert.CertStore s)
                   throws java.security.InvalidAlgorithmParameterException
Creates a new CertPathParameters object from a given Cert and a given CertStore.

Parameters:
c - Cert to create the object from.
s - CertStore to create the object from.
Throws:
java.security.InvalidAlgorithmParameterException - if the subject of c is not a Name.
See Also:
Name
Method Detail

getCert

public Cert getCert()
Returns:
the Cert of this CertPathParameters.

getStore

public java.security.cert.CertStore getStore()
Returns:
the CertStore of this CertPathParameters.

clone

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


Copyright © 2002-2006 JSDSI. All Rights Reserved.