org.mozilla.jss.pkix.crmf
public class CertReqMsg extends Object implements ASN1Value
| Nested Class Summary | |
|---|---|
| static class | CertReqMsg.Template
A class for decoding CertReqMsg structures from a BER encoding. |
| Field Summary | |
|---|---|
| static Tag | TAG |
| Constructor Summary | |
|---|---|
| CertReqMsg(CertRequest certReq, ProofOfPossession pop, SEQUENCE regInfo)
Constructs a CertReqmsg from a CertRequest and, optionally,
a pop>/i> and a regInfo. | |
| Method Summary | |
|---|---|
| void | encode(OutputStream ostream)
Encodes this CertReqMsg to the given OutputStream using
DER encoding. |
| void | encode(Tag implicit, OutputStream ostream)
Encodes this CertReqMsg to the given OutputStream using
DER encoding, with the given implicit tag. |
| CertRequest | getCertReq()
Retrieves the CertRequest contained in this structure. |
| ProofOfPossession | getPop()
Returns the pop field. |
| SEQUENCE | getRegInfo()
Returns the regInfo field. |
| Tag | getTag() |
| static CertReqMsg.Template | getTemplate() |
| boolean | hasPop()
Returns true if this CertReqMsg has a
pop field. |
| boolean | hasRegInfo()
Returns true if this CertReqMsg has a
regInfo field. |
| static void | main(String[] args) |
| void | verify() |
Parameters: pop May be NULL. regInfo May be NULL.
true if this CertReqMsg has a
pop field.true if this CertReqMsg has a
regInfo field.