Class TaggedCertificationRequest
java.lang.Object
org.mozilla.jss.pkix.cmc.TaggedCertificationRequest
- All Implemented Interfaces:
ASN1Value
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA template for decoding an TaggedCertificationRequest from its BER encoding. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final INTEGERprivate INTEGERprivate CertificationRequestprivate 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 TypeMethodDescriptionvoidencode(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.voidencode(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
-
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.- Specified by:
encodein interfaceASN1Value- Parameters:
ostream- Output stream.- Throws:
IOException- If an error occurred.
-
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.- Specified by:
encodein interfaceASN1Value- Parameters:
implicitTag- Implicit tag.ostream- Output stream.- Throws:
IOException- If an error occurred.
-
getTemplate
-