public class Certificate
extends java.lang.Object
Certificate| Modifier and Type | Field and Description |
|---|---|
protected Certificate[] |
certificateList
Deprecated.
|
static Certificate |
EMPTY_CHAIN
Deprecated.
|
| Constructor and Description |
|---|
Certificate(Certificate[] certificateList)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Certificate[] |
cloneCertificateList()
Deprecated.
|
void |
encode(java.io.OutputStream output)
Deprecated.
Encode this
Certificate to an OutputStream. |
Certificate |
getCertificateAt(int index)
Deprecated.
|
Certificate[] |
getCertificateList()
Deprecated.
|
int |
getLength()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
static Certificate |
parse(java.io.InputStream input)
Deprecated.
Parse a
Certificate from an InputStream. |
public static final Certificate EMPTY_CHAIN
protected Certificate[] certificateList
public Certificate(Certificate[] certificateList)
public Certificate[] getCertificateList()
Certificate representing a certificate
chain.public Certificate getCertificateAt(int index)
public int getLength()
public boolean isEmpty()
public void encode(java.io.OutputStream output)
throws java.io.IOException
Certificate to an OutputStream.output - the OutputStream to encode to.java.io.IOExceptionpublic static Certificate parse(java.io.InputStream input) throws java.io.IOException
Certificate from an InputStream.input - the InputStream to parse from.Certificate object.java.io.IOExceptionprotected Certificate[] cloneCertificateList()