Authen::HTTP::Signature::Method::HMAC - Compute digest using a symmetric key
This class uses a symmetric key to compute a HTTP signature digest. It implements the HMAC-SHA{1, 256, 512} algorithms.
These are Perlish mutators; pass a value to set it, pass no value to get the current value.
Key material. Read-only. Required.
The data to be signed. Read-only. Required.
The algorithm to generate the digest. Read-only. Required.
Signs data with key using hash.
data
key
hash
Returns a Base 64 encoded digest.
Compares the given signature to a computed one. Returns true if they are the same. False otherwise.
Authen::HTTP::Signature
To install Authen::HTTP::Signature, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::HTTP::Signature
CPAN shell
perl -MCPAN -e shell install Authen::HTTP::Signature
For more information on module installation, please visit the detailed CPAN module installation guide.