jsdsi
Class CertPath

java.lang.Object
  extended byjava.security.cert.CertPath
      extended byjsdsi.CertPath
All Implemented Interfaces:
java.io.Serializable

public class CertPath
extends java.security.cert.CertPath

A SPKI certification path: essentially a wrapper around the Proof class.

Version:
$Revision: 1.3.2.1 $ $Date: 2005/11/08 03:12:52 $
Author:
Sameer Ajmani, Sean Radford
See Also:
Proof, Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.security.cert.CertPath
java.security.cert.CertPath.CertPathRep
 
Constructor Summary
CertPath(Proof p)
          Creates a new CertPath from a given proof.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.List getCertificates()
           
 byte[] getEncoded()
           
 byte[] getEncoded(java.lang.String encoding)
           
 java.util.Iterator getEncodings()
           
 Proof getProof()
          Returns the Proof of this CertPath.
 java.lang.String getType()
          Returns the type of this CertPath, namely "SPKI".
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.security.cert.CertPath
writeReplace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CertPath

public CertPath(Proof p)
Creates a new CertPath from a given proof.

Parameters:
p - Proof to create the CertPath from.
Method Detail

getProof

public Proof getProof()
Returns the Proof of this CertPath.

Returns:
the Poof of this CertPath.

getType

public java.lang.String getType()
Returns the type of this CertPath, namely "SPKI".

Returns:
the type of this CertPath, namely "SPKI".
See Also:
CertPath.getType()

getEncodings

public java.util.Iterator getEncodings()
See Also:
CertPath.getEncodings()

equals

public boolean equals(java.lang.Object o)
See Also:
Object.equals(Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()

toString

public java.lang.String toString()
See Also:
Object.toString()

getEncoded

public byte[] getEncoded()
                  throws java.security.cert.CertificateEncodingException
Throws:
java.security.cert.CertificateEncodingException
See Also:
CertPath.getEncoded()

getEncoded

public byte[] getEncoded(java.lang.String encoding)
                  throws java.security.cert.CertificateEncodingException
Throws:
java.security.cert.CertificateEncodingException
See Also:
CertPath.getEncoded(String)

getCertificates

public java.util.List getCertificates()
See Also:
CertPath.getCertificates()


Copyright © 2002-2006 JSDSI. All Rights Reserved.