public class RevokedVerificationCode
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
RevokedVerificationCode()
Default constructor.
|
RevokedVerificationCode(java.lang.String aCode,
java.util.Date aRevokedDate)
Constructor that takes the required
code and
revokedDate attribute values. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
RevokedVerificationCode . |
void |
decode(java.lang.String aLine) |
java.lang.String |
encode()
Encodes the revoked verification code attributes into a revoked
verification code line.
|
boolean |
equals(java.lang.Object aObject)
Implements a deep
RevokedVerificationCode compare. |
java.lang.String |
getCode()
Gets the revoked verification code value.
|
java.util.Date |
getRevokedDate()
Gets the revocation datetime of the signed mark.
|
void |
setCode(java.lang.String aCode)
Sets the revoked verification code value.
|
void |
setRevokedDate(java.util.Date aRevokedDate)
Sets the revocation datetime of the signed mark.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in
encoding the revoked verification code attributes into a revoked
verification code line. |
public RevokedVerificationCode()
code
and the
revokedDate
attributes must be set prior to calling
encode()
.public RevokedVerificationCode(java.lang.String aCode, java.util.Date aRevokedDate)
code
and
revokedDate
attribute values.aCode
- Verification codeaRevokedDate
- Revocation datetime of the verification code.public java.lang.String getCode()
public void setCode(java.lang.String aCode)
aCode
- Verification code valuepublic java.util.Date getRevokedDate()
public void setRevokedDate(java.util.Date aRevokedDate)
aRevokedDate
- Revocation datetime of the signed mark.public java.lang.String encode() throws EPPEncodeException
EPPEncodeException
- Error encoding the verification code line.public void decode(java.lang.String aLine) throws EPPDecodeException
EPPDecodeException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
RevokedVerificationCode
.clone
in class java.lang.Object
RevokedVerificationCode
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
RevokedVerificationCode
compare.equals
in class java.lang.Object
aObject
- RevokedVerificationCode
instance to compare withtrue
if equal false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in
encoding the revoked verification code attributes into a revoked
verification code line. If there is an error encoding the verification
code line, a RuntimeException
is thrown.toString
in class java.lang.Object
Copyright © VeriSign Inc. All Rights Reserved.