org.bouncycastle.jce.provider.test
Class CertPathTest.MyCertPath

java.lang.Object
  extended by java.security.cert.CertPath
      extended by org.bouncycastle.jce.provider.test.CertPathTest.MyCertPath
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CertPathTest

private static class CertPathTest.MyCertPath
extends java.security.cert.CertPath


Nested Class Summary
 
Nested classes/interfaces inherited from class java.security.cert.CertPath
java.security.cert.CertPath.CertPathRep
 
Field Summary
private  java.util.Vector certificates
           
private  byte[] encoding
           
private  java.util.Vector encodingNames
           
 
Constructor Summary
CertPathTest.MyCertPath(byte[] encoding)
           
 
Method Summary
 java.util.List getCertificates()
           
 byte[] getEncoded()
           
 byte[] getEncoded(java.lang.String encoding)
           
 java.util.Iterator getEncodings()
           
 
Methods inherited from class java.security.cert.CertPath
equals, getType, hashCode, toString, writeReplace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

certificates

private final java.util.Vector certificates

encodingNames

private final java.util.Vector encodingNames

encoding

private final byte[] encoding
Constructor Detail

CertPathTest.MyCertPath

public CertPathTest.MyCertPath(byte[] encoding)
Method Detail

getCertificates

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

getEncoded

public byte[] getEncoded()
                  throws java.security.cert.CertificateEncodingException
Specified by:
getEncoded in class java.security.cert.CertPath
Throws:
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
Throws:
java.security.cert.CertificateEncodingException

getEncodings

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