org.mozilla.jss.pkix.cmc
Modifier and Type | Class and Description |
---|---|
static class |
TaggedRequest.Template
A Template for decoding a ProofOfPossession.
|
static class |
TaggedRequest.Type
The type of TaggedRequest.
|
Modifier and Type | Field and Description |
---|---|
static TaggedRequest.Type |
CRMF |
static TaggedRequest.Type |
PKCS10 |
Constructor and Description |
---|
TaggedRequest() |
TaggedRequest(TaggedRequest.Type type,
TaggedCertificationRequest tcr,
CertReqMsg crm)
Constructs a TaggedRequest from its components.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicitTag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
an implicit tag.
|
CertReqMsg |
getCrm()
If type == CRMF, returns the crm field.
|
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
TaggedCertificationRequest |
getTcr()
If type == PKCS10, returns the tcr field.
|
static TaggedRequest.Template |
getTemplate() |
TaggedRequest.Type |
getType()
Returns the type of TaggedRequest:
PKCS10
CRMF
|
public static TaggedRequest.Type PKCS10
public static TaggedRequest.Type CRMF
public TaggedRequest()
public TaggedRequest(TaggedRequest.Type type, TaggedCertificationRequest tcr, CertReqMsg crm)
type
- The type of the request.tcr
- Tagged pkcs10 request.crm
- CRMF request.public TaggedRequest.Type getType()
PKCS10
CRMF
public TaggedCertificationRequest getTcr()
public CertReqMsg getCrm()
public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public static TaggedRequest.Template getTemplate()