org.mozilla.jss.pkix.cmc
public class TaggedRequest extends Object implements ASN1Value
TaggedRequest ::= CHOICE { tcr [0] TaggedCertificationRequest, crm [1] CertReqMsg }
Nested Class Summary | |
---|---|
static class | TaggedRequest.Template
A Template for decoding a ProofOfPossession. |
static class | TaggedRequest.Type
The type of TaggedRequest. |
Field Summary | |
---|---|
static TaggedRequest.Type | CRMF |
static TaggedRequest.Type | PKCS10 |
Constructor Summary | |
---|---|
TaggedRequest() | |
TaggedRequest(TaggedRequest.Type type, TaggedCertificationRequest tcr, CertReqMsg crm)
Constructs a TaggedRequest from its components.
|
Method Summary | |
---|---|
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
CertReqMsg | getCrm()
If type == CRMF, returns the crm field. |
Tag | getTag() |
TaggedCertificationRequest | getTcr()
If type == PKCS10, returns the tcr field. |
static TaggedRequest.Template | getTemplate() |
TaggedRequest.Type | getType()
Returns the type of TaggedRequest:
|
Parameters: type The type of the request. tcr Tagged pkcs10 request. crm CRMF request.
PKCS10
CRMF