NAME
Net::RFC3161::Timestamp - Utility functions to request RFC3161 timestamps
VERSION
version 0.020
list_tsas
my
$l
= list_tsas();
Returns a hash reference. The keys correspond to shortnames of timestamping authorities ("dfn.de", "verisign"), the values to the access URLs.
make_request_for_file
my
$req_buf
= make_request_for_file(
$in_file
,
$hash_algo
,
$policy
);
Generate a timestamp request for a file and place it into $req_buf.
post_request
my
$res_buf
= post_request_to_tsa(
$req_buf
,
$tsa
);
Post a timestamp request to a timestamping authority and retrieve the result.
$tsa can either be the name of a timestamping authority from the above table or directly a http URL.
write_response_to_file
write_response_to_file(
$res_buf
,
$out_file
);
Write the timestamp to a result file.
attest_file
attest_file(
$in_file
,
$out_file
,
$tsa
,
$hash_algo
,
$policy
,
$verbose
);
Obtain an attested timestamp for $in_file and place it into $out_file, using the hash algorithm $hash_algo and the policy $policy.
AUTHOR
Andreas K. Huettel <dilfridge@gentoo.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by Andreas K. Huettel.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.