org.mozilla.jss.pkix.crmf
Class CertRequest
java.lang.Object
org.mozilla.jss.pkix.crmf.CertRequest
- ASN1Value
public class CertRequest
extends java.lang.Object
A PKIX CertRequest. Currently can only be decoded from its BER
encoding. There are no methods for constructing one.
static class | CertRequest.Template - A Template class for constructing CertRequests from their
BER encoding.
|
AVA | controlAt(int i) - Returns the ith Control.
|
void | encode(OutputStream ostream) - This method is not yet supported.
|
void | encode(Tag implicit, 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.
|
TAG
public static final Tag TAG
CertRequest
public CertRequest(INTEGER certReqId,
CertTemplate certTemplate,
SEQUENCE controls)
certReqId
- May NOT be null.certTemplate
- May NOT be null.controls
- May be null.
controlAt
public AVA controlAt(int i)
Returns the ith Control. i
must be in the
range [0..numControls-1].
encode
public void encode(OutputStream ostream)
throws IOException
This method is not yet supported.
- encode in interface ASN1Value
encode
public void encode(Tag implicit,
OutputStream ostream)
throws IOException
This method is not yet supported.
- encode in interface ASN1Value
getCertReqId
public INTEGER getCertReqId()
Returns the certReqId (certificate request ID) field.
getCertTemplate
public CertTemplate getCertTemplate()
Returns the CertTemplate field.
getTag
public Tag getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
- getTag in interface ASN1Value
numControls
public int numControls()
Returns the number of optional Controls in the cert request.
The number may be zero.