The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Crypt::HSM::Sign - A PKCS11 ongoing signing operation.

VERSION

version 0.016

SYNOPSIS

 my $stream = $session->open_sign('rsa-pkcs-pss', $key);
 for my $chunk (@chunks) {
   $stream->add_data($chunk);
 }
 my $signature = $stream->finish;

DESCRIPTION

This class represents a signing stream.

METHODS

add_data($plaintext)

This adds data to the signing.

finalize()

This finished the signing and returns the signature.

AUTHOR

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.