timestamp host set! - part-cw/lambdanative GitHub Wiki
(timestamp-host-set! hostname)
timestamp-host-set! change the time stamping authority server name
Parameter | Description |
---|---|
hostname | TSA server hostname |
Example
Example 1: Change the TSA to Safe Creative Timestamp Server and obtain a trusted timestamp.
> (define filename "LNtest")
> (u8vector->file (u8vector 76 97 109 98 100 97 78 97 116 105 118 101) filename)
> (define tsr2 (timestamp-gettimestamp filename))
> (timestamp-host-set! "tsa.safecreative.org")
> (timestamp-url-set! "/")
> (timestamp-tsr-granted? tsr2)
#t