Skip to content

timestamp tsr getstatus

Matthias Görges edited this page Jul 13, 2015 · 2 revisions

timestamp-tsr-getstatus gets timestamp response status code (0 or 1 are success). Also see (timestamp-tsr-getstatus tsr)

Parameter Description
tsr Timestamp response

Example

Example 1: Obtain a trusted timestamp for a file containing the string "LambdaNative" and query the timestamp response code

> (define filename "LNtest")
> (u8vector->file (u8vector 76 97 109 98 100 97 78 97 116 105 118 101) filename)
> (define tsr (timestamp-gettimestamp filename))
> (timestamp-tsr-getstatus tsr)
0
> (timestamp-tsr-getstatusstr tsr)
"Granted"
> (timestamp-tsr-granted? tsr)
#t
Clone this wiki locally