public class RevokedSMD
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
RevokedSMD()
Default constructor.
|
RevokedSMD(java.lang.String aId,
java.util.Date aRevokedDate)
Constructor that takes the required
id and
revokedDate attribute values. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
RevokedSMD . |
void |
decode(java.lang.String aLine) |
java.lang.String |
encode()
Encodes the revoked SMD attributes into a revoked SMD line.
|
boolean |
equals(java.lang.Object aObject)
implements a deep
RevokedSMD compare. |
java.lang.String |
getId()
Gets the identifier of the revoked signed mark.
|
java.util.Date |
getRevokedDate()
Gets the revocation datetime of the signed mark.
|
void |
setId(java.lang.String aId)
Sets the identifier of the revoked signed mark.
|
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 SMD attributes into a revoked SMD line. |
public RevokedSMD()
id
and the revokedDate
attributes must be set prior to calling encode()
.public RevokedSMD(java.lang.String aId, java.util.Date aRevokedDate)
id
and
revokedDate
attribute values.aId
- Identifier of the revoked signed mark.aRevokedDate
- Revocation datetime of the signed mark.public java.lang.String getId()
public void setId(java.lang.String aId)
aId
- Identifier of the revoked signed mark.public 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 SMD line.public void decode(java.lang.String aLine) throws EPPDecodeException
EPPDecodeException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
RevokedSMD
.clone
in class java.lang.Object
RevokedSMD
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
RevokedSMD
compare.equals
in class java.lang.Object
aObject
- RevokedSMD
instance to compare withpublic java.lang.String toString()
Object.toString
, which will result in
encoding the revoked SMD attributes into a revoked SMD line. If there is
an error encoding the SMD line, a RuntimeException
is
thrown.toString
in class java.lang.Object
Copyright © VeriSign Inc. All Rights Reserved.