Package org.mozilla.jss.pkix.cmc
Class TaggedCertificationRequest
java.lang.Object
org.mozilla.jss.pkix.cmc.TaggedCertificationRequest
- All Implemented Interfaces:
ASN1Value
CMC TaggedCertificationRequest:
TaggedCertificationRequest ::= SEQUENCE { bodyPartID BodyPartID, certificationRequest CertificationRequest } bodyIdMax INTEGER ::= 4294967295 BodyPartID ::= INTEGER(0..bodyIdMax)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A template for decoding an TaggedCertificationRequest from its BER encoding. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final INTEGER
private INTEGER
private CertificationRequest
private SEQUENCE
static final Tag
private static final TaggedCertificationRequest.Template
-
Constructor Summary
ConstructorsConstructorDescriptionTaggedCertificationRequest
(INTEGER bodyPartID, CertificationRequest certificationRequest) Constructs a TaggedCertificationRequest from its components. -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.void
encode
(Tag implicitTag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
Field Details
-
BODYIDMAX
-
sequence
-
bodyPartID
-
certificationRequest
-
TAG
-
templateInstance
-
-
Constructor Details
-
TaggedCertificationRequest
Constructs a TaggedCertificationRequest from its components.- Parameters:
bodyPartID
- the identifier.certificationRequest
- the pkcs10 request.
-
-
Method Details
-
getCertificationRequest
-
getBodyPartID
-
getTag
Description copied from interface:ASN1Value
Returns the base tag for this type, not counting any tags that may be imposed on it by its context. -
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
implicitTag
- Implicit tag.ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
getTemplate
-