Skip to content

timestamp tsr getstatusstr

Matthias Görges edited this page Jul 13, 2015 · 1 revision

timestamp-tsr-getstatusstr gets timestamp response status string

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