|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.signedMark.SMDRevocationList
public class SMDRevocationList
Class that holds the attributes for a Signed Mark Data (SMD) Revocation List
and provides the following:
String, that can be
written to a file.
String or an
InputStream.
EPPSignedMark is revoked.
| Field Summary | |
|---|---|
static int |
DEFAULT_VERSION
Default value of the version attribute. |
| Constructor Summary | |
|---|---|
SMDRevocationList()
Default constructor. |
|
SMDRevocationList(java.util.Date aCreatedDate)
Constructor that takes the requirement attribute value. |
|
SMDRevocationList(java.util.Date aCreatedDate,
java.util.List<RevokedSMD> aRevokedSMDs)
Constructor that takes the requirement created date attribute value and the optional list of revoked SMD's. |
|
| Method Summary | |
|---|---|
void |
addRevokedSMD(RevokedSMD aRevokedSMD)
Adds a revoked SMD to the list of revoked SMD's. |
java.lang.Object |
clone()
Clone SMDRevocationList. |
void |
decode(java.io.InputStream aSMDRevocationListStream)
Decodes the SMD Revocation List from an InputStream. |
void |
decode(java.lang.String aSMDRevocationListStr)
Decodes the SMD Revocation List from a String. |
java.lang.String |
encode()
Encodes the SMD Revocation List to a String. |
boolean |
equals(java.lang.Object aObject)
implements a deep SMDRevocationList compare. |
java.util.Date |
getCreatedDate()
Gets the datetime in UTC that the SMD Revocation List was created. |
java.util.List<RevokedSMD> |
getRevokedSMDs()
Gets the list of revoked SMD's. |
int |
getVersion()
Gets the version of the SMD Revocation List format. |
boolean |
isRevoked(EPPSignedMark aSignedMark)
Is the passed signed mark revoked? |
void |
setCreatedDate(java.util.Date aCreatedDate)
Sets the datetime in UTC that the SMD Revocation List was created. |
void |
setRevokedSMDs(java.util.List<RevokedSMD> aRevokedSMDs)
Sets the list of revoked SMD's. |
void |
setVersion(int aVersion)
Sets the version of the SMD Revocation List format. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in the
full SMD revocation list being converted to a String. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_VERSION
version attribute.
| Constructor Detail |
|---|
public SMDRevocationList()
encode() method.
public SMDRevocationList(java.util.Date aCreatedDate)
DEFAULT_VERSION value, and the removed SMD
list defaults to an empty list.
aCreatedDate - Datetime in UTC that the SMD Revocation List was created.
public SMDRevocationList(java.util.Date aCreatedDate,
java.util.List<RevokedSMD> aRevokedSMDs)
DEFAULT_VERSION value.
aCreatedDate - Datetime in UTC that the SMD Revocation List was created.aRevokedSMDs - List of revoked SMD's| Method Detail |
|---|
public int getVersion()
DEFAULT_VERSION.public void setVersion(int aVersion)
aVersion - Version of the SMD Revocation List formatpublic java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date aCreatedDate)
aCreatedDate - Datetime in UTC that the SMD Revocation List was created.public java.util.List<RevokedSMD> getRevokedSMDs()
public void setRevokedSMDs(java.util.List<RevokedSMD> aRevokedSMDs)
aRevokedSMDs - List of revoked SMD'spublic void addRevokedSMD(RevokedSMD aRevokedSMD)
aRevokedSMD - Revoked SMD to add to the list of revoked SMD'spublic boolean isRevoked(EPPSignedMark aSignedMark)
aSignedMark - Signed mark to check if revoked.
true if the signed mark is revoked;
false otherwise.
public java.lang.String encode()
throws EPPEncodeException
String.
EPPEncodeException - Error encoding the SMD Revocation List.
public void decode(java.lang.String aSMDRevocationListStr)
throws EPPDecodeException
String.
aSMDRevocationListStr - String containing the full SMD Revocation List.
EPPDecodeException - Error decoding the SMD Revocation List
public void decode(java.io.InputStream aSMDRevocationListStream)
throws EPPDecodeException
InputStream.
aSMDRevocationListStream - InputStream containing the full SMD Revocation
List.
EPPDecodeException - Error decoding the SMD Revocation List
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
SMDRevocationList.
clone in class java.lang.ObjectSMDRevocationList
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
SMDRevocationList compare.
equals in class java.lang.ObjectaObject - SMDRevocationList instance to compare with
public java.lang.String toString()
Object.toString, which will result in the
full SMD revocation list being converted to a String. If
there is an error encoding the Revocation List, a
RuntimeException is thrown.
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||