|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.verificationcode.VerificationCodeRevocationList
public class VerificationCodeRevocationList
Class that holds the attributes for a Verification Code Revocation List and
provides the following:
String,
that can be written to a file.
String
or an InputStream.
EPPSignedCode is revoked.
| Field Summary | |
|---|---|
static int |
DEFAULT_VERSION
Default value of the version attribute. |
| Constructor Summary | |
|---|---|
VerificationCodeRevocationList()
Default constructor. |
|
VerificationCodeRevocationList(java.util.Date aCreatedDate)
Constructor that takes the requirement attribute value. |
|
VerificationCodeRevocationList(java.util.Date aCreatedDate,
java.util.List<RevokedVerificationCode> aRevokedVerificationCodes)
Constructor that takes the requirement created date attribute value and the optional list of revoked VerificationCode's. |
|
| Method Summary | |
|---|---|
void |
addRevokedVerificationCode(RevokedVerificationCode aRevokedVerificationCode)
Adds a revoked VerificationCode to the list of revoked
VerificationCode's. |
java.lang.Object |
clone()
Clone VerificationCodeRevocationList. |
void |
decode(java.io.InputStream aVerificationCodeRevocationListStream)
Decodes the Verification Code Revocation List from an InputStream. |
void |
decode(java.lang.String aVerificationCodeRevocationListStr)
Decodes the Verification Code Revocation List from a String. |
java.lang.String |
encode()
Encodes the Verification Code Revocation List to a String. |
boolean |
equals(java.lang.Object aObject)
implements a deep VerificationCodeRevocationList compare. |
java.util.Date |
getCreatedDate()
Gets the datetime in UTC that the Verification Code Revocation List was created. |
java.util.List<RevokedVerificationCode> |
getRevokedVerificationCodes()
Gets the list of revoked VerificationCode's. |
int |
getVersion()
Gets the version of the Verification Code Revocation List format. |
boolean |
isRevoked(EPPSignedCode aVerificationCode)
Is the passed verification code revoked? |
void |
setCreatedDate(java.util.Date aCreatedDate)
Sets the datetime in UTC that the Verification Code Revocation List was created. |
void |
setRevokedVerificationCodes(java.util.List<RevokedVerificationCode> aRevokedVerificationCodes)
Sets the list of revoked VerificationCode's. |
void |
setVersion(int aVersion)
Sets the version of the Verification Code Revocation List format. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in the
full Verification OCode 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 VerificationCodeRevocationList()
encode() method.
public VerificationCodeRevocationList(java.util.Date aCreatedDate)
DEFAULT_VERSION value, and the removed
VerificationCode list defaults to an empty list.
aCreatedDate - Datetime in UTC that the Verification Code Revocation List was
created.
public VerificationCodeRevocationList(java.util.Date aCreatedDate,
java.util.List<RevokedVerificationCode> aRevokedVerificationCodes)
DEFAULT_VERSION value.
aCreatedDate - Datetime in UTC that the Verification Code Revocation List was
created.aRevokedVerificationCodes - List of revoked VerificationCode's| Method Detail |
|---|
public int getVersion()
DEFAULT_VERSION.public void setVersion(int aVersion)
aVersion - Version of the Verification Code Revocation List formatpublic java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date aCreatedDate)
aCreatedDate - Datetime in UTC that the Verification Code Revocation List was
created.public java.util.List<RevokedVerificationCode> getRevokedVerificationCodes()
VerificationCode's.
VerificationCode'spublic void setRevokedVerificationCodes(java.util.List<RevokedVerificationCode> aRevokedVerificationCodes)
VerificationCode's.
aRevokedVerificationCodes - List of revoked VerificationCode'spublic void addRevokedVerificationCode(RevokedVerificationCode aRevokedVerificationCode)
VerificationCode to the list of revoked
VerificationCode's.
aRevokedVerificationCode - Revoked VerificationCode to add to the list of
revoked VerificationCode'spublic boolean isRevoked(EPPSignedCode aVerificationCode)
aVerificationCode - 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 Verification Code Revocation List.
public void decode(java.lang.String aVerificationCodeRevocationListStr)
throws EPPDecodeException
String.
aVerificationCodeRevocationListStr - String containing the full Verification Code Revocation List.
EPPDecodeException - Error decoding the Verification Code Revocation List
public void decode(java.io.InputStream aVerificationCodeRevocationListStream)
throws EPPDecodeException
InputStream.
aVerificationCodeRevocationListStream - InputStream containing the full Verification Code
Revocation List.
EPPDecodeException - Error decoding the Verification Code Revocation List
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
VerificationCodeRevocationList.
clone in class java.lang.ObjectVerificationCodeRevocationList
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
VerificationCodeRevocationList compare.
equals in class java.lang.ObjectaObject - VerificationCodeRevocationList instance to
compare with
public java.lang.String toString()
Object.toString, which will result in the
full Verification OCode 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 | |||||||||