com.netscape.cmsutil.ocsp
Class OCSPRequest
java.lang.Object
com.netscape.cmsutil.ocsp.OCSPRequest
- All Implemented Interfaces:
- org.mozilla.jss.asn1.ASN1Value
public class OCSPRequest
- extends java.lang.Object
- implements org.mozilla.jss.asn1.ASN1Value
RFC 2560:
OCSPRequest ::= SEQUENCE {
tbsRequest TBSRequest,
optionalSignature [0] EXPLICIT Signature OPTIONAL }
- Version:
- $Revision: 1213 $ $Date: 2010-08-18 11:44:45 -0700 (Wed, 18 Aug 2010) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OCSPRequest
public OCSPRequest(TBSRequest tbsRequest,
Signature optionalSignature)
getTBSRequest
public TBSRequest getTBSRequest()
- Returns the
TBSRequest
field.
getSignature
public Signature getSignature()
- Returns the
Signature
field.
getTag
public org.mozilla.jss.asn1.Tag getTag()
- Specified by:
getTag
in interface org.mozilla.jss.asn1.ASN1Value
encode
public void encode(java.io.OutputStream ostream)
throws java.io.IOException
- Specified by:
encode
in interface org.mozilla.jss.asn1.ASN1Value
- Throws:
java.io.IOException
encode
public void encode(org.mozilla.jss.asn1.Tag implicitTag,
java.io.OutputStream ostream)
throws java.io.IOException
- Specified by:
encode
in interface org.mozilla.jss.asn1.ASN1Value
- Throws:
java.io.IOException
getTemplate
public static OCSPRequest.Template getTemplate()