public class TBSRequest
extends java.lang.Object
implements org.mozilla.jss.asn1.ASN1Value
TBSRequest ::= SEQUENCE { version [0] EXPLICIT Version DEFAULT v1, requestorName [1] EXPLICIT GeneralName OPTIONAL, requestList SEQUENCE OF Request, requestExtensions [2] EXPLICIT Extensions OPTIONAL }
Modifier and Type | Class and Description |
---|---|
static class |
TBSRequest.Template
A Template for decoding TBSRequest.
|
Modifier and Type | Field and Description |
---|---|
static org.mozilla.jss.asn1.Tag |
TAG |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream ostream) |
void |
encode(org.mozilla.jss.asn1.Tag implicitTag,
java.io.OutputStream ostream) |
int |
getExtensionsCount() |
Request |
getRequestAt(int index) |
int |
getRequestCount() |
org.mozilla.jss.pkix.cert.Extension |
getRequestExtensionAt(int index) |
org.mozilla.jss.asn1.ANY |
getRequestorName() |
org.mozilla.jss.asn1.Tag |
getTag() |
static TBSRequest.Template |
getTemplate() |
org.mozilla.jss.asn1.INTEGER |
getVersion() |
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)
public org.mozilla.jss.asn1.INTEGER getVersion()
public org.mozilla.jss.asn1.ANY getRequestorName()
public int getRequestCount()
public Request getRequestAt(int index)
public int getExtensionsCount()
public org.mozilla.jss.pkix.cert.Extension getRequestExtensionAt(int index)
public org.mozilla.jss.asn1.Tag getTag()
getTag
in interface org.mozilla.jss.asn1.ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
encode
in interface org.mozilla.jss.asn1.ASN1Value
java.io.IOException
public void encode(org.mozilla.jss.asn1.Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
encode
in interface org.mozilla.jss.asn1.ASN1Value
java.io.IOException
public static TBSRequest.Template getTemplate()