public class PKIXCertPath extends CertPath
CertPath.CertPathRep
Modifier and Type | Method and Description |
---|---|
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.
|
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 useCertificateEncodingException
- if an encoding error
occurs or the encoding requested is not supportedpublic List getCertificates()
getCertificates
in class CertPath
Copyright © 2015. All rights reserved.