This class encapsulates information about a signed timestamp. It is immutable. It includes the timestamp's date and time as well as information about the Timestamping Authority (TSA) which generated and signed the timestamp.
This class encapsulates information about a signed timestamp. It is immutable. It includes the timestamp's date and time as well as information about the Timestamping Authority (TSA) which generated and signed the timestamp.
(->timestamp timestamp signer-cert-path)
Constructor.
Constructs a Timestamp.
timestamp - is the timestamp's date and time. It must not be null. - java.util.Date
signer-cert-path - is the TSA's certificate path. It must not be null. - java.security.cert.CertPath
throws: java.lang.NullPointerException - if timestamp or signerCertPath is null.
Constructor. Constructs a Timestamp. timestamp - is the timestamp's date and time. It must not be null. - `java.util.Date` signer-cert-path - is the TSA's certificate path. It must not be null. - `java.security.cert.CertPath` throws: java.lang.NullPointerException - if timestamp or signerCertPath is null.
(equals this obj)
Tests for equality between the specified object and this timestamp. Two timestamps are considered equal if the date and time of their timestamp's and their signer's certificate paths are equal.
obj - the object to test for equality with this timestamp. - java.lang.Object
returns: true if the timestamp are considered equal, false otherwise. - boolean
Tests for equality between the specified object and this timestamp. Two timestamps are considered equal if the date and time of their timestamp's and their signer's certificate paths are equal. obj - the object to test for equality with this timestamp. - `java.lang.Object` returns: true if the timestamp are considered equal, false otherwise. - `boolean`
(get-signer-cert-path this)
Returns the certificate path for the Timestamping Authority.
returns: The TSA's certificate path. - java.security.cert.CertPath
Returns the certificate path for the Timestamping Authority. returns: The TSA's certificate path. - `java.security.cert.CertPath`
(get-timestamp this)
Returns the date and time when the timestamp was generated.
returns: The timestamp's date and time. - java.util.Date
Returns the date and time when the timestamp was generated. returns: The timestamp's date and time. - `java.util.Date`
(hash-code this)
Returns the hash code value for this timestamp. The hash code is generated using the date and time of the timestamp and the TSA's certificate path.
returns: a hash code value for this timestamp. - int
Returns the hash code value for this timestamp. The hash code is generated using the date and time of the timestamp and the TSA's certificate path. returns: a hash code value for this timestamp. - `int`
(to-string this)
Returns a string describing this timestamp.
returns: A string comprising the date and time of the timestamp and
its signer's certificate. - java.lang.String
Returns a string describing this timestamp. returns: A string comprising the date and time of the timestamp and its signer's certificate. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close