|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.rsa.swsj.Timestamp
This class represents a security timestamp. The timestamp represents the creation and expiration of the security semantics in UTC time.
| Constructor Summary | |
Timestamp(SWSJContext context)
The default constructor that creates an empty |
|
| Method Summary | |
getContext()
Gets the SWSJContext, that is used to carry a number of common parameters and state variables. |
|
java.util.Calendar |
getCreationTime()
Gets the creation time of the security operation. |
java.util.Calendar |
getExpirationTime()
Gets the expiration time of the security operation. |
java.lang.String |
getId()
Gets the id for this timestamp that is used to reference the <Timestamp> element; for example, to reference the timestamp in a XML Signature. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Timestamp(SWSJContext context)
throws InvalidParameterException
Timestamp
object that is initialized only with context.
context - An object that collects a number of common parameters and
state variables; for example, JCE provider.
InvalidParameterException - If the context is null.| Method Detail |
public SWSJContext getContext()
public java.util.Calendar getCreationTime()
Calendar object that represents the creation
time, if the value was set during the processing the security
operation; otherwise, null value will be returned.public java.util.Calendar getExpirationTime()
Calendar object that represents the expiration
time, if the value was set during the processing the security
operation; otherwise, null value will be returned.public java.lang.String getId()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||