NAME
Crypt::HSM::Mechanism::Info - PKCS11 mechanism information
VERSION
version 0.021
METHODS
min_key_size()
This returns the minimum key size for this mechanism.
max_key_size()
This returns the maximum key size for this mechanism.
flags()
This array lists properties of the mechanism. It may contain values like 'encrypt', 'decrypt', 'sign', 'verify', 'generate', 'wrap' and 'unwrap'.
has_flags(@flags)
This returns true the flags contain all of @flags.
hash()
This returns a hash with information about the mechanism. This includes the following fields.
min-key-size
The minimum key size
max-key-size
The maximum key size
flags
This contains the flags much like the
flagsmethod.
AUTHOR
Leon Timmermans <fawaka@gmail.com>
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.