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