get_sth: Retrieve Latest Signed Tree Head

Description Usage Arguments Value References Examples

View source: R/get-sth.r

Description

Retrieve Latest Signed Tree Head

Usage

1
get_sth(log_server, ...)

Arguments

log_server

CTL log server host and prefix fragment (do not include https:// prefix. If one is present it will be removed).

...

other parameters passed on to httr::GET

Value

data frame with five columns:

References

https://tools.ietf.org/html/rfc6962#section-4.3

Examples

1
2
3
4
ll <- read_log_list()
ctl <- ll$logs$url[2]
sth <- get_sth(ctl)
x <- get_entries(ctl, sth$tree_size-30, sth$tree_size-1)

hrbrmstr/sslsaran documentation built on May 28, 2019, 12:59 p.m.