blob: bfd900b34fa6bcb507316d984a8cfc7a2aca4ddb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
%% A plop_entry has a type and some data.
%% A plop_data record has the meta data necessary for constructing a
%% signed timestamp.
-record(plop_data, {
version = 1 :: integer(),
signature_type = certificate_timestamp :: certificate_timestamp |
tree_hash |
test,
timestamp = now :: 'now' | integer(),
entry :: plop_entry()
}).
-record(plop_entry, {
type = x509 :: x509 | precert | test,
data = <<>> :: binary()
}).
-type plop_data() :: #plop_data{}.
-type plop_entry() :: #plop_entry{}.
-export_type([plop_data/0, plop_entry/0]).
|