|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.tls.Certificate
Parsing and encoding of a Certificate struct from RFC 4346. opaque ASN.1Cert<2^24-1>; struct { ASN.1Cert certificate_list<0..2^24-1>; } Certificate;
Certificate
Field Summary | |
protected Certificate[] |
certificateList
Deprecated. |
static Certificate |
EMPTY_CHAIN
Deprecated. |
Constructor Summary | |
Certificate(Certificate[] certificateList)
Deprecated. |
Method Summary | |
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 . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Certificate EMPTY_CHAIN
protected Certificate[] certificateList
Constructor Detail |
public Certificate(Certificate[] certificateList)
Method Detail |
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.IOException
- public 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.IOException
- protected Certificate[] cloneCertificateList()
|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |