java.lang.Object | |
↳ | java.security.Timestamp |
Timestamp
represents a signed time stamp. Timestamp
is
immutable.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
Timestamp with the specified timestamp and the given certificate path.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares the specified object with this
Timestamp for equality
and returns true if the specified object is equal, false
otherwise.
| |||||||||||
Returns the certificate path of this
Timestamp .
| |||||||||||
Returns the date and time of this
Timestamp .
| |||||||||||
Returns the hash code value for this
Timestamp .
| |||||||||||
Returns a string containing a concise, human-readable description of this
Timestamp .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs a new instance of Timestamp
with the specified timestamp
and the given certificate path.
timestamp | date and time. |
---|---|
signerCertPath | the certificate path. |
NullPointerException | if timestamp is null or if signerCertPath is null .
|
---|
Compares the specified object with this Timestamp
for equality
and returns true
if the specified object is equal, false
otherwise. The given object is equal to this Timestamp
, if it is
an instance of Timestamp
, the two timestamps have an equal date
and time and their certificate paths are equal.
obj | object to be compared for equality with this Timestamp . |
---|
true
if the specified object is equal to this Timestamp
, otherwise false
.Returns the certificate path of this Timestamp
.
Timestamp
.
Returns the date and time of this Timestamp
.
Timestamp
.
Returns the hash code value for this Timestamp
. Returns the same
hash code for Timestamp
s that are equal to each other as
required by the general contract of hashCode()
.
Timestamp
.Returns a string containing a concise, human-readable description of this
Timestamp
.
Timestamp
.