Class TBSRequest
java.lang.Object
com.netscape.cmsutil.ocsp.TBSRequest
- All Implemented Interfaces:
org.mozilla.jss.asn1.ASN1Value
RFC 2560:
TBSRequest ::= SEQUENCE {
version [0] EXPLICIT Version DEFAULT v1,
requestorName [1] EXPLICIT GeneralName OPTIONAL,
requestList SEQUENCE OF Request,
requestExtensions [2] EXPLICIT Extensions OPTIONAL }
- Version:
- $Revision$ $Date$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding TBSRequest. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.mozilla.jss.asn1.Tag//////////////////////////////////////////////////////////////////// -
Constructor Summary
ConstructorsConstructorDescriptionTBSRequest(org.mozilla.jss.asn1.INTEGER version, org.mozilla.jss.asn1.ANY requestorName, org.mozilla.jss.asn1.SEQUENCE requestList, org.mozilla.jss.asn1.SEQUENCE requestExtensions) //////////////////////////////////////////////////////////////////// -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream ostream) voidencode(org.mozilla.jss.asn1.Tag implicitTag, OutputStream ostream) intgetRequestAt(int index) intorg.mozilla.jss.pkix.cert.ExtensiongetRequestExtensionAt(int index) org.mozilla.jss.asn1.ANYorg.mozilla.jss.asn1.TaggetTag()static TBSRequest.Templateorg.mozilla.jss.asn1.INTEGER
-
Field Details
-
TAG
public static final org.mozilla.jss.asn1.Tag TAG////////////////////////////////////////////////////////////////////
-
-
Constructor Details
-
TBSRequest
public TBSRequest(org.mozilla.jss.asn1.INTEGER version, org.mozilla.jss.asn1.ANY requestorName, org.mozilla.jss.asn1.SEQUENCE requestList, org.mozilla.jss.asn1.SEQUENCE requestExtensions) ////////////////////////////////////////////////////////////////////
-
-
Method Details
-
getVersion
public org.mozilla.jss.asn1.INTEGER getVersion() -
getRequestorName
public org.mozilla.jss.asn1.ANY getRequestorName() -
getRequestCount
public int getRequestCount() -
getRequestAt
-
getExtensionsCount
public int getExtensionsCount() -
getRequestExtensionAt
public org.mozilla.jss.pkix.cert.Extension getRequestExtensionAt(int index) -
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
-
getTemplate
-