Skip to content

timestamp host set!

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

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