timestamp url set! - part-cw/lambdanative GitHub Wiki

(timestamp-url-set! url)

timestamp-url-set! changes the time stamping authority URL filename.

Parameter Description
url TSA server URL filename, e.g. "/"

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