public class Certificate extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.bouncycastle.asn1.x509.X509CertificateStructure[] |
certs
The certificates.
|
| 构造器和说明 |
|---|
Certificate(org.bouncycastle.asn1.x509.X509CertificateStructure[] certs)
Private constructor from a cert array.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
protected org.bouncycastle.asn1.x509.X509CertificateStructure[] certs
public Certificate(org.bouncycastle.asn1.x509.X509CertificateStructure[] certs)
certs - The certs the chain should contain.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 toIOException - If something goes wrongpublic org.bouncycastle.asn1.x509.X509CertificateStructure[] getCerts()
Copyright © 2016. All rights reserved.