%% 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]).