NAME

Crypt::OpenSSL3::Signature - Signature algorithms

VERSION

version 0.001

SYNOPSIS

my $alg = Crypt::OpenSSL3::Signature->fetch('RSA-SHA2-512');
my $ctx = Crypt::OpenSSL3::PKey::Context->new($pkey);
$ctx->sign_message_init($alg, { 'pad-mode' => 'pss' });
while (my $data = $input->get_data) {
  $ctx->sign_message_update($data);
}
my $signature = $ctx->sign_message_final;

DESCRIPTION

This class allows you to fetch various signing mechanisms, it's primary used with PKey contexts to initialize signing or verifying.

METHODS

fetch

get_description

get_name

is_a

list_all_provided

names_list_all

AUTHOR

Leon Timmermans <fawaka@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 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.