Class SingleResponse
java.lang.Object
com.netscape.cmsutil.ocsp.SingleResponse
- All Implemented Interfaces:
org.mozilla.jss.asn1.ASN1Value
RFC 2560:
SingleResponse ::= SEQUENCE {
certID CertID,
certStatus CertStatus,
thisUpdate GeneralizedTime,
nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL,
singleExtensions [1] EXPLICIT Extensions OPTIONAL }
- Version:
- $Revision$ $Date$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decodingResponseBytes. -
Constructor Summary
ConstructorsConstructorDescriptionSingleResponse(CertID cid, CertStatus s, org.mozilla.jss.asn1.GeneralizedTime thisUpdate, org.mozilla.jss.asn1.GeneralizedTime nextUpdate) -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream os) voidencode(org.mozilla.jss.asn1.Tag t, OutputStream os) intorg.mozilla.jss.asn1.GeneralizedTimeorg.mozilla.jss.asn1.TaggetTag()static SingleResponse.Templateorg.mozilla.jss.asn1.GeneralizedTime
-
Constructor Details
-
SingleResponse
public SingleResponse(CertID cid, CertStatus s, org.mozilla.jss.asn1.GeneralizedTime thisUpdate, org.mozilla.jss.asn1.GeneralizedTime nextUpdate)
-
-
Method Details
-
getCertID
-
getTag
public org.mozilla.jss.asn1.Tag getTag()- Specified by:
getTagin interfaceorg.mozilla.jss.asn1.ASN1Value
-
encode
- Specified by:
encodein interfaceorg.mozilla.jss.asn1.ASN1Value- Throws:
IOException
-
encode
- Specified by:
encodein interfaceorg.mozilla.jss.asn1.ASN1Value- Throws:
IOException
-
getCertStatus
-
getThisUpdate
public org.mozilla.jss.asn1.GeneralizedTime getThisUpdate() -
getNextUpdate
public org.mozilla.jss.asn1.GeneralizedTime getNextUpdate() -
getExtensionCount
public int getExtensionCount() -
getTemplate
-