org.bouncycastle.jce.provider
Class PKIXCertPath
CertPath
org.bouncycastle.jce.provider.PKIXCertPath
public class PKIXCertPath
extends CertPath
CertPath implementation for X.509 certificates.
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.
|
getCertificates
public List getCertificates()
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()
throws CertificateEncodingException
Returns the encoded form of this certification path, using
the default encoding.
- the encoded bytes
getEncoded
public byte[] getEncoded(String encoding)
throws CertificateEncodingException
Returns the encoded form of this certification path, using
the specified encoding.
encoding
- the name of the encoding to use
- the encoded bytes
getEncodings
public Iterator getEncodings()
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)