Skip to content

timestamp tsr getpolicy

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

timestamp-tsr-getpolicy get timestamp response policy.

Parameter Description
tsr Timestamp response

Example

Example 1: Obtain a trusted timestamp for a file containing the string "LambdaNative" and display the content of various fields

> (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-getpolicy tsr)
"1.3.6.1.4.1.22177.300.22.1"
> (timestamp-tsr-getserial tsr)
#u8(101 189 159 207 1 11 237 143 38 38 96 183 112 93 213 30 102 135 228 206)
> (timestamp-tsr-getordering tsr)
#f
> (timestamp-tsr-getnonce tsr)
2015160065
Clone this wiki locally