public class TaggedCertificationRequest extends java.lang.Object implements ASN1Value
TaggedCertificationRequest ::= SEQUENCE { bodyPartID BodyPartID, certificationRequest CertificationRequest } bodyIdMax INTEGER ::= 4294967295 BodyPartID ::= INTEGER(0..bodyIdMax)
Modifier and Type | Class and Description |
---|---|
static class |
TaggedCertificationRequest.Template
A template for decoding an TaggedCertificationRequest from its BER encoding.
|
Modifier and Type | Field and Description |
---|---|
static INTEGER |
BODYIDMAX |
static Tag |
TAG |
Constructor and Description |
---|
TaggedCertificationRequest(INTEGER bodyPartID,
CertificationRequest certificationRequest)
Constructs a TaggedCertificationRequest 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.
|
INTEGER |
getBodyPartID() |
CertificationRequest |
getCertificationRequest() |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static TaggedCertificationRequest.Template |
getTemplate() |
public TaggedCertificationRequest(INTEGER bodyPartID, CertificationRequest certificationRequest)
bodyPartID
- the identifier.certificationRequest
- the pkcs10 request.public CertificationRequest getCertificationRequest()
public INTEGER getBodyPartID()
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 TaggedCertificationRequest.Template getTemplate()