|
Bouncy Castle Cryptography Library 1.46 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.crypto.tls.Certificate
public class Certificate
A representation for a certificate chain as used by a tls server.
| Field Summary | |
|---|---|
protected X509CertificateStructure[] |
certs
The certificates. |
static Certificate |
EMPTY_CHAIN
|
| Constructor Summary | |
|---|---|
Certificate(X509CertificateStructure[] certs)
Private constructor from a cert array. |
|
| Method Summary | |
|---|---|
protected void |
encode(java.io.OutputStream os)
Encodes version of the ClientCertificate message |
X509CertificateStructure[] |
getCerts()
|
boolean |
isEmpty()
|
protected static Certificate |
parse(java.io.InputStream is)
Parse the ServerCertificate message. |
| 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 X509CertificateStructure[] certs
| Constructor Detail |
|---|
public Certificate(X509CertificateStructure[] certs)
certs - The certs the chain should contain.| Method Detail |
|---|
protected static Certificate parse(java.io.InputStream is)
throws java.io.IOException
is - The stream where to parse from.
java.io.IOException - If something goes wrong during parsing.
protected void encode(java.io.OutputStream os)
throws java.io.IOException
os - stream to write the message to
java.io.IOException - If something goes wrongpublic X509CertificateStructure[] getCerts()
public boolean isEmpty()
|
Bouncy Castle Cryptography Library 1.46 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||