ASN1Valuepublic 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 | Description |
|---|---|---|
static class |
TaggedCertificationRequest.Template |
A template for decoding an TaggedCertificationRequest from its BER encoding.
|
| Constructor | Description |
|---|---|
TaggedCertificationRequest(INTEGER bodyPartID,
CertificationRequest certificationRequest) |
Constructs a TaggedCertificationRequest from its components.
|
| Modifier and Type | Method | 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()
ASN1Valuepublic void encode(java.io.OutputStream ostream)
throws java.io.IOException
ASN1Valuepublic void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Valuepublic static TaggedCertificationRequest.Template getTemplate()