public class LraPopWitness
extends java.lang.Object
Constructor and Description |
---|
LraPopWitness()
Creates an empty
LraPopWitness instance. |
LraPopWitness(java.io.InputStream is)
Create a new
LraPopWitness by reading from the specified input stream. |
LraPopWitness(long pkiDataBodyPartID)
Creates a
LraPopWitness instance with the specified value. |
LraPopWitness(long pkiDataBodyPartID,
long[] bodyPartIDs)
Creates an
LraPopWitness instance with the
specified values. |
Modifier and Type | Method and Description |
---|---|
void |
addBodyPartIDs(long bodyPartID)
Add a BodyPart ID to the list of BodyPart IDs.
|
void |
addBodyPartIDs(long[] ids)
Add a BodyPart ID to the list of BodyPart IDs.
|
boolean |
equals(java.lang.Object o)
Compare this
LraPopWitness to the specified object. |
long |
getBodyPartID()
Returns the BodyPart Identifier value.
|
long[] |
getBodyPartIDs()
Returns the list of BodyPart IDs.
|
void |
input(java.io.InputStream is)
Create a new
LraPopWitness by reading from the specified input stream. |
int |
length()
Returns the length of this object's encoding.
|
void |
output(java.io.OutputStream os)
Outputs the
TaggedAttribute to the specified output stream. |
void |
setBodyPartID(long pkiDataBodyPartID)
Sets the BodyPart Identifier value.
|
public LraPopWitness()
LraPopWitness
instance.public LraPopWitness(long pkiDataBodyPartID) throws InvalidInputException
LraPopWitness
instance with the specified value.pkiDataBodyPartID
- The integer used to reference the embedded request message.InvalidInputException
public LraPopWitness(long pkiDataBodyPartID, long[] bodyPartIDs) throws InvalidInputException
LraPopWitness
instance with the
specified values.pkiDataBodyPartID
- The integer used to reference the embedded request message.bodyPartIDs
- The list of BodyPart IDs.InvalidInputException
public LraPopWitness(java.io.InputStream is) throws java.io.IOException
LraPopWitness
by reading from the specified input stream.is
- The input stream containing the encoded LraPopWitness
.java.io.IOException
public void setBodyPartID(long pkiDataBodyPartID) throws InvalidInputException
pkiDataBodyPartID
- The integer used to reference the embedded request message.InvalidInputException
public long getBodyPartID()
public void addBodyPartIDs(long bodyPartID) throws InvalidInputException
bodyPartID
- The identifier to add.InvalidInputException
public void addBodyPartIDs(long[] ids) throws InvalidInputException
ids
- The list of identifiers to add.InvalidInputException
public long[] getBodyPartIDs()
public void input(java.io.InputStream is) throws java.io.IOException
LraPopWitness
by reading from the specified input stream.is
- The input stream containing the encoded LraPopWitness
.java.io.IOException
- The input encoding is incorrect or an I/O error occurs.public void output(java.io.OutputStream os) throws java.io.IOException
TaggedAttribute
to the specified output stream.os
- The output stream.java.io.IOException
- An I/O error occurs.public int length()
public boolean equals(java.lang.Object o)
LraPopWitness
to the specified object. Returns
true
if and only if the argument is not null
and
is an LraPopWitness
object which has the same DER encoding
as this object.equals
in class java.lang.Object