| java.lang.Object java.security.cert.CertPath org.bouncycastle.jce.provider.PKIXCertPath
PKIXCertPath | public class PKIXCertPath extends CertPath (Code) | | CertPath implementation for X.509 certificates.
|
Method Summary | |
public List | getCertificates() Returns the list of certificates in this certification
path. | public byte[] | getEncoded() Returns the encoded form of this certification path, using
the default encoding. | public byte[] | getEncoded(String encoding) Returns the encoded form of this certification path, using
the specified encoding. | public Iterator | getEncodings() Returns an iteration of the encodings supported by this
certification path, with the default encoding
first. |
certPathEncodings | final static List certPathEncodings(Code) | | |
PKIXCertPath | PKIXCertPath(List certificates)(Code) | | |
PKIXCertPath | PKIXCertPath(InputStream inStream, String encoding) throws CertificateException(Code) | | Creates a CertPath of the specified type.
This constructor is protected because most users should use
a CertificateFactory to create CertPaths.
|
getCertificates | public List getCertificates()(Code) | | Returns the list of certificates in this certification
path. The List returned must be immutable and thread-safe.
an immutable List of Certificates (may be empty, but not null) |
getEncoded | public byte[] getEncoded(String encoding) throws CertificateEncodingException(Code) | | Returns the encoded form of this certification path, using
the specified encoding.
Parameters: encoding - the name of the encoding to use the encoded bytes exception: CertificateEncodingException - if an encoding erroroccurs or the encoding requested is not supported |
getEncodings | public Iterator getEncodings()(Code) | | Returns an iteration of the encodings supported by this
certification path, with the default encoding
first. Attempts to modify the returned Iterator via its
remove method result in an UnsupportedOperationException.
an Iterator over the names of the supported encodings (as Strings) |
|
|