Modifier and Type | Class | Description |
---|---|---|
static class |
CertRequest.Template |
A Template class for constructing CertRequests from their
BER encoding.
|
Constructor | Description |
---|---|
CertRequest(INTEGER certReqId,
CertTemplate certTemplate,
SEQUENCE controls) |
Modifier and Type | Method | Description |
---|---|---|
AVA |
controlAt(int i) |
Returns the ith Control.
|
void |
encode(java.io.OutputStream ostream) |
This method is not yet supported.
|
void |
encode(Tag implicit,
java.io.OutputStream ostream) |
This method is not yet supported.
|
INTEGER |
getCertReqId() |
Returns the certReqId (certificate request ID) field.
|
CertTemplate |
getCertTemplate() |
Returns the CertTemplate field.
|
SEQUENCE |
getControls() |
Returns the controls field.
|
Tag |
getTag() |
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
int |
numControls() |
Returns the number of optional Controls in the cert request.
|
public static final Tag TAG
public CertRequest(INTEGER certReqId, CertTemplate certTemplate, SEQUENCE controls)
certReqId
- May NOT be null.certTemplate
- May NOT be null.controls
- May be null.public INTEGER getCertReqId()
public CertTemplate getCertTemplate()
public SEQUENCE getControls()
public int numControls()
public AVA controlAt(int i)
i
must be in the
range [0..numControls-1].public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException