jsdsi
Class CertPath

java.lang.Object
  |
  +--java.security.cert.CertPath
        |
        +--jsdsi.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.

Author:
Sameer Ajmani
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)
           
 
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()
           
 java.lang.String getType()
           
 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)
Method Detail

getProof

public Proof getProof()

getType

public java.lang.String getType()
Overrides:
getType in class java.security.cert.CertPath

getEncodings

public java.util.Iterator getEncodings()
Specified by:
getEncodings in class java.security.cert.CertPath

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.security.cert.CertPath

hashCode

public int hashCode()
Overrides:
hashCode in class java.security.cert.CertPath

toString

public java.lang.String toString()
Overrides:
toString in class java.security.cert.CertPath

getEncoded

public byte[] getEncoded()
                  throws java.security.cert.CertificateEncodingException
Specified by:
getEncoded in class java.security.cert.CertPath
java.security.cert.CertificateEncodingException

getEncoded

public byte[] getEncoded(java.lang.String encoding)
                  throws java.security.cert.CertificateEncodingException
Specified by:
getEncoded in class java.security.cert.CertPath
java.security.cert.CertificateEncodingException

getCertificates

public java.util.List getCertificates()
Specified by:
getCertificates in class java.security.cert.CertPath