Skip to content
Matthias Görges edited this page Jul 8, 2015 · 1 revision

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
Clone this wiki locally