-
Notifications
You must be signed in to change notification settings - Fork 86
timestamp gettimestamp
Matthias Görges edited this page Jul 8, 2015
·
2 revisions
timestamp-gettimestamp obtain trusted timestamp for a given file. If successful it automatically saves the timestamp response to a file called filename.tsr
Parameter | Description |
---|---|
filename | Filename of file for which the trusted timestamp is obtained |
Example 1: Obtain a trusted timestamp for a file containing the string "LambdaNative" and verify its integrity
> (define filename "LNtest")
> (u8vector->file (u8vector 76 97 109 98 100 97 78 97 116 105 118 101) filename)
> (define tsr (timestamp-gettimestamp filename))
> (file-exists? (string-append filename ".tsr"))
#t
> (define cafile "chain.txt")
> (timestamp-verify (sha512sum filename) tsr cafile)
#t
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip