Package org.mozilla.jss.pkix.crmf
Class CertRequest
- java.lang.Object
-
- org.mozilla.jss.pkix.crmf.CertRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertRequest.TemplateA Template class for constructing CertRequests from their BER encoding.
-
Constructor Summary
Constructors Constructor Description CertRequest(INTEGER certReqId, CertTemplate certTemplate, SEQUENCE controls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AVAcontrolAt(int i)Returns the ith Control.voidencode(java.io.OutputStream ostream)This method is not yet supported.voidencode(Tag implicit, java.io.OutputStream ostream)This method is not yet supported.INTEGERgetCertReqId()Returns the certReqId (certificate request ID) field.CertTemplategetCertTemplate()Returns the CertTemplate field.SEQUENCEgetControls()Returns the controls field.TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.intnumControls()Returns the number of optional Controls in the cert request.
-
-
-
Field Detail
-
TAG
public static final Tag TAG
-
-
Constructor Detail
-
CertRequest
public CertRequest(INTEGER certReqId, CertTemplate certTemplate, SEQUENCE controls)
- Parameters:
certReqId- May NOT be null.certTemplate- May NOT be null.controls- May be null.
-
-
Method Detail
-
getCertReqId
public INTEGER getCertReqId()
Returns the certReqId (certificate request ID) field.
-
getCertTemplate
public CertTemplate getCertTemplate()
Returns the CertTemplate field.
-
getControls
public SEQUENCE getControls()
Returns the controls field.
-
numControls
public int numControls()
Returns the number of optional Controls in the cert request. The number may be zero.
-
controlAt
public AVA controlAt(int i)
Returns the ith Control.imust be in the range [0..numControls-1].
-
getTag
public Tag getTag()
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
encode
public void encode(java.io.OutputStream ostream) throws java.io.IOExceptionThis method is not yet supported.
-
-