Class RevokedSMD
java.lang.Object
com.verisign.epp.codec.signedMark.RevokedSMD
- All Implemented Interfaces:
Serializable,Cloneable
A revoked Signed Mark Data (SMD) that includes the attributes:
- Identifier of the revoked signed mark.
- Revocation datetime in UTC of the signed mark.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.RevokedSMD(String aId, Date aRevokedDate) Constructor that takes the requiredidandrevokedDateattribute values. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneRevokedSMD.voidencode()Encodes the revoked SMD attributes into a revoked SMD line.booleanimplements a deepRevokedSMDcompare.getId()Gets the identifier of the revoked signed mark.Gets the revocation datetime of the signed mark.voidSets the identifier of the revoked signed mark.voidsetRevokedDate(Date aRevokedDate) Sets the revocation datetime of the signed mark.toString()Implementation ofObject.toString, which will result in encoding the revoked SMD attributes into a revoked SMD line.
-
Constructor Details
-
RevokedSMD
public RevokedSMD()Default constructor. Theidand therevokedDateattributes must be set prior to callingencode(). -
RevokedSMD
Constructor that takes the requiredidandrevokedDateattribute values.- Parameters:
aId- Identifier of the revoked signed mark.aRevokedDate- Revocation datetime of the signed mark.
-
-
Method Details
-
getId
Gets the identifier of the revoked signed mark.- Returns:
- Identifier of the revoked signed mark.
-
setId
Sets the identifier of the revoked signed mark.- Parameters:
aId- Identifier of the revoked signed mark.
-
getRevokedDate
Gets the revocation datetime of the signed mark.- Returns:
- Revocation datetime of the signed mark.
-
setRevokedDate
Sets the revocation datetime of the signed mark.- Parameters:
aRevokedDate- Revocation datetime of the signed mark.
-
encode
Encodes the revoked SMD attributes into a revoked SMD line.- Returns:
- Encoded revoked SMD line
- Throws:
EPPEncodeException- Error encoding the SMD line.
-
decode
- Throws:
EPPDecodeException
-
clone
CloneRevokedSMD.- Overrides:
clonein classObject- Returns:
- clone of
RevokedSMD - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
implements a deepRevokedSMDcompare. -
toString
Implementation ofObject.toString, which will result in encoding the revoked SMD attributes into a revoked SMD line. If there is an error encoding the SMD line, aRuntimeExceptionis thrown.
-