public class OpenSSLX509CertPath extends CertPath
CertPath.CertPathRep| Modifier | Constructor and Description |
|---|---|
protected |
OpenSSLX509CertPath(List<? extends X509Certificate> certificates) |
| Modifier and Type | Method and Description |
|---|---|
static CertPath |
fromEncoding(InputStream inStream) |
static CertPath |
fromEncoding(InputStream inStream,
String encoding) |
List<? extends Certificate> |
getCertificates()
Returns an immutable List of the
Certificates contained
in the CertPath. |
byte[] |
getEncoded()
Returns an encoding of the
CertPath using the default encoding. |
byte[] |
getEncoded(String encoding)
|
Iterator<String> |
getEncodings()
Returns an
Iterator over the supported encodings for a
representation of the certificate path. |
protected OpenSSLX509CertPath(List<? extends X509Certificate> certificates)
public List<? extends Certificate> getCertificates()
CertPathCertificates contained
in the CertPath.getCertificates in class CertPathCertificates in the CertPath.public byte[] getEncoded()
throws CertificateEncodingException
CertPathCertPath using the default encoding.getEncoded in class CertPathCertPath.CertificateEncodingException - if the encoding fails.public byte[] getEncoded(String encoding) throws CertificateEncodingException
CertPathgetEncoded in class CertPathCertificateEncodingException - if the encoding fails.public Iterator<String> getEncodings()
CertPathIterator over the supported encodings for a
representation of the certificate path.getEncodings in class CertPathIterator over supported encodings (as Strings).public static CertPath fromEncoding(InputStream inStream, String encoding) throws CertificateException
CertificateExceptionpublic static CertPath fromEncoding(InputStream inStream) throws CertificateException
CertificateException