Package org.mozilla.jss.pkix.cmc
Class LraPopWitness
java.lang.Object
org.mozilla.jss.pkix.cmc.LraPopWitness
- All Implemented Interfaces:
ASN1Value
CMC LraPopWitness:
LraPopWitness::= SEQUENCE { pkiDataBodyid BodyPartID bodyids SEQUENCE SIZE (1..MAX) OF BodyPartID, }
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBodyPartId
(int id) Adds a BodyPartID to the bodyIds SEQUENCE.void
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.static LraPopWitness.Template
-
Field Details
-
BODYIDMAX
-
pkiDataBodyid
-
bodyIds
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
LraPopWitness
- Parameters:
pkiDataBodyid
- A PKI data BodyPartID.bodyIds
- The sequence of bodyPartIDs.
-
-
Method Details
-
addBodyPartId
public void addBodyPartId(int id) Adds a BodyPartID to the bodyIds SEQUENCE. -
getPKIDataBodyid
-
getBodyIds
-
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
-