|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.security.cert.CertPath
org.bouncycastle.jce.provider.PKIXCertPath
public class PKIXCertPath
CertPath implementation for X.509 certificates.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.security.cert.CertPath |
|---|
java.security.cert.CertPath.CertPathRep |
| Field Summary | |
|---|---|
private java.util.List |
certificates
|
(package private) static java.util.List |
certPathEncodings
|
| Constructor Summary | |
|---|---|
PKIXCertPath(java.io.InputStream inStream,
java.lang.String encoding)
Creates a CertPath of the specified type. |
|
PKIXCertPath(java.util.List certificates)
|
|
| Method Summary | |
|---|---|
java.util.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(java.lang.String encoding)
Returns the encoded form of this certification path, using the specified encoding. |
java.util.Iterator |
getEncodings()
Returns an iteration of the encodings supported by this certification path, with the default encoding first. |
private java.util.List |
sortCerts(java.util.List certs)
|
private DERObject |
toASN1Object(java.security.cert.X509Certificate cert)
Return a DERObject containing the encoded certificate. |
private byte[] |
toDEREncoded(ASN1Encodable obj)
|
| 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 |
|---|
static final java.util.List certPathEncodings
private java.util.List certificates
| Constructor Detail |
|---|
PKIXCertPath(java.util.List certificates)
PKIXCertPath(java.io.InputStream inStream,
java.lang.String encoding)
throws java.security.cert.CertificateException
java.security.cert.CertificateException| Method Detail |
|---|
private java.util.List sortCerts(java.util.List certs)
certs - public java.util.Iterator getEncodings()
getEncodings in class java.security.cert.CertPath
public byte[] getEncoded()
throws java.security.cert.CertificateEncodingException
getEncoded in class java.security.cert.CertPathjava.security.cert.CertificateEncodingException - if an encoding error occurs
public byte[] getEncoded(java.lang.String encoding)
throws java.security.cert.CertificateEncodingException
getEncoded in class java.security.cert.CertPathencoding - the name of the encoding to use
java.security.cert.CertificateEncodingException - if an encoding error
occurs or the encoding requested is not supportedpublic java.util.List getCertificates()
getCertificates in class java.security.cert.CertPath
private DERObject toASN1Object(java.security.cert.X509Certificate cert)
throws java.security.cert.CertificateEncodingException
cert - the X509Certificate object to be encoded
java.security.cert.CertificateEncodingException
private byte[] toDEREncoded(ASN1Encodable obj)
throws java.security.cert.CertificateEncodingException
java.security.cert.CertificateEncodingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||