gnu.crypto.pki
Class X509CertPath
java.lang.Object
java.security.cert.CertPath
gnu.crypto.pki.X509CertPath
- All Implemented Interfaces:
- Serializable
public class X509CertPath
- extends CertPath
A certificate path (or certificate chain) of X509Certificates.
- Author:
- Casey Marshall (rsdio@metastatic.org)
- See Also:
- Serialized Form
ENCODINGS
public static final List ENCODINGS
X509CertPath
public X509CertPath(List path)
X509CertPath
public X509CertPath(InputStream in)
throws CertificateEncodingException
- Throws:
CertificateEncodingException
X509CertPath
public X509CertPath(InputStream in,
String encoding)
throws CertificateEncodingException
- Throws:
CertificateEncodingException
getCertificates
public List getCertificates()
- Specified by:
getCertificates
in class CertPath
getEncoded
public byte[] getEncoded()
throws CertificateEncodingException
- Specified by:
getEncoded
in class CertPath
- Throws:
CertificateEncodingException
getEncoded
public byte[] getEncoded(String encoding)
throws CertificateEncodingException
- Specified by:
getEncoded
in class CertPath
- Throws:
CertificateEncodingException
getEncodings
public Iterator getEncodings()
- Specified by:
getEncodings
in class CertPath
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.