public class SingleResponse
extends java.lang.Object
implements org.mozilla.jss.asn1.ASN1Value
SingleResponse ::= SEQUENCE { certID CertID, certStatus CertStatus, thisUpdate GeneralizedTime, nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL, singleExtensions [1] EXPLICIT Extensions OPTIONAL }
Modifier and Type | Class and Description |
---|---|
static class |
SingleResponse.Template
A Template for decoding
ResponseBytes . |
Constructor and Description |
---|
SingleResponse(CertID cid,
CertStatus s,
org.mozilla.jss.asn1.GeneralizedTime thisUpdate,
org.mozilla.jss.asn1.GeneralizedTime nextUpdate) |
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream os) |
void |
encode(org.mozilla.jss.asn1.Tag t,
java.io.OutputStream os) |
CertID |
getCertID() |
CertStatus |
getCertStatus() |
org.mozilla.jss.pkix.cert.Extension |
getExtensionAt(int pos) |
int |
getExtensionCount() |
org.mozilla.jss.asn1.GeneralizedTime |
getNextUpdate() |
org.mozilla.jss.asn1.Tag |
getTag() |
static SingleResponse.Template |
getTemplate() |
org.mozilla.jss.asn1.GeneralizedTime |
getThisUpdate() |
public SingleResponse(CertID cid, CertStatus s, org.mozilla.jss.asn1.GeneralizedTime thisUpdate, org.mozilla.jss.asn1.GeneralizedTime nextUpdate)
public CertID getCertID()
public org.mozilla.jss.asn1.Tag getTag()
getTag
in interface org.mozilla.jss.asn1.ASN1Value
public void encode(org.mozilla.jss.asn1.Tag t, java.io.OutputStream os) throws java.io.IOException
encode
in interface org.mozilla.jss.asn1.ASN1Value
java.io.IOException
public void encode(java.io.OutputStream os) throws java.io.IOException
encode
in interface org.mozilla.jss.asn1.ASN1Value
java.io.IOException
public CertStatus getCertStatus()
public org.mozilla.jss.asn1.GeneralizedTime getThisUpdate()
public org.mozilla.jss.asn1.GeneralizedTime getNextUpdate()
public int getExtensionCount()
public org.mozilla.jss.pkix.cert.Extension getExtensionAt(int pos)
public static SingleResponse.Template getTemplate()