|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.cert.CertPath org.gudy.bouncycastle.jce.provider.PKIXCertPath
public class PKIXCertPath
CertPath implementation for X.509 certificates.
TODO: add PKCS #7 encoding support
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.security.cert.CertPath |
---|
CertPath.CertPathRep |
Method Summary | |
---|---|
List |
getCertificates()
Returns the list of certificates in this certification path. |
byte[] |
getEncoded()
Returns the encoded form of this certification path, using the default encoding. |
byte[] |
getEncoded(String encoding)
Returns the encoded form of this certification path, using the specified encoding. |
Iterator |
getEncodings()
Returns an iteration of the encodings supported by this certification path, with the default encoding first. |
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 |
Method Detail |
---|
public Iterator getEncodings()
getEncodings
in class CertPath
public byte[] getEncoded() throws CertificateEncodingException
getEncoded
in class CertPath
CertificateEncodingException
- if an encoding error occurspublic byte[] getEncoded(String encoding) throws CertificateEncodingException
getEncoded
in class CertPath
encoding
- the name of the encoding to use
CertificateEncodingException
- if an encoding error
occurs or the encoding requested is not supportedpublic List getCertificates()
getCertificates
in class CertPath
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |