|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.jss.pkix.crmf.CertRequest
public class CertRequest
A PKIX CertRequest. Currently can only be decoded from its BER encoding. There are no methods for constructing one.
| Nested Class Summary | |
|---|---|
static class |
CertRequest.Template
A Template class for constructing CertRequests from their BER encoding. |
| Field Summary | |
|---|---|
static Tag |
TAG
|
| Constructor Summary | |
|---|---|
CertRequest(INTEGER certReqId,
CertTemplate certTemplate,
SEQUENCE controls)
|
|
| Method Summary | |
|---|---|
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Tag TAG
| Constructor Detail |
|---|
public CertRequest(INTEGER certReqId,
CertTemplate certTemplate,
SEQUENCE controls)
certReqId - May NOT be null.certTemplate - May NOT be null.controls - May be null.| Method Detail |
|---|
public INTEGER getCertReqId()
public CertTemplate getCertTemplate()
public int numControls()
public AVA controlAt(int i)
i must be in the
range [0..numControls-1].
public Tag getTag()
ASN1Value
getTag in interface ASN1Value
public void encode(java.io.OutputStream ostream)
throws java.io.IOException
encode in interface ASN1Valuejava.io.IOException
public void encode(Tag implicit,
java.io.OutputStream ostream)
throws java.io.IOException
encode in interface ASN1Valuejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||