public class MLExpansionHistory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
UB_ML_EXPANSION_HISTORY |
Constructor and Description |
---|
MLExpansionHistory(CMSSignerInfo si)
Create a
MLExpansionHistory with the given policy identifier. |
MLExpansionHistory(java.io.InputStream is)
Create a
MLExpansionHistory by reading from the specified input stream. |
MLExpansionHistory(MLData mlData)
Create a
MLExpansionHistory . |
MLExpansionHistory(java.util.Vector mlDatas)
Create a
MLExpansionHistory . |
Modifier and Type | Method and Description |
---|---|
void |
addMLData(MLData mlData)
Adds a mailing list data element.
|
void |
addMLData(java.util.Vector mlDatas)
Adds a mailing list data elements.
|
boolean |
equals(java.lang.Object o)
Indicates if the object equals the specified object.
|
java.util.Vector |
getMLDatas()
Get the list of mailing list data.
|
int |
hashCode()
Return the hash code for this object.
|
void |
input(java.io.InputStream is) |
int |
length()
Return the length of this object's encoding.
|
java.util.Enumeration |
mldatas()
Returns an enumeration of mailing list data.
|
void |
output(java.io.OutputStream os)
Outputs this object's encoding to the specified output stream.
|
java.lang.String |
toString() |
public static final int UB_ML_EXPANSION_HISTORY
public MLExpansionHistory(java.io.InputStream is) throws java.io.IOException
MLExpansionHistory
by reading from the specified input stream.is
- The input stream.java.io.IOException
public MLExpansionHistory(CMSSignerInfo si) throws InvalidInputException
MLExpansionHistory
with the given policy identifier.si
- The message signer.InvalidInputException
- If the input is not correctly formatted or the
SigningCertificateAttribute is not present or the
SigningCertificateAttribute has multiple values.public MLExpansionHistory(MLData mlData)
MLExpansionHistory
.mlData
- The MLData
object.public MLExpansionHistory(java.util.Vector mlDatas) throws InvalidInputException
MLExpansionHistory
.mlDatas
- A Vector
containing MLData
objects.InvalidInputException
- If the maximum number of MLData
elements will be exceeded.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
true
this object is equal to the specified object; false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public void addMLData(MLData mlData) throws InvalidInputException
mlData
- The mailing list data.InvalidInputException
- If the maximum number of MLData
elements will be exceeded.public void addMLData(java.util.Vector mlDatas) throws InvalidInputException
mlDatas
- A Vector
containing MLData
objects.InvalidInputException
- If the maximum number of MLData
elements will be exceeded.public java.util.Vector getMLDatas()
Vector
containing MLData
;public java.util.Enumeration mldatas()
Enumeration
containing MLData
objects.public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
os
- The output stream.java.io.IOException
- An I/O error occurred.public int length()