WWW::LetsEncrypt::JWK::RSA
use WWW::LetsEncrypt::JWK::RSA
my $JWK = WWW::LetsEncrypt::JWK::RSA::generate_new(4096);
(see SYNOPSIS from JWK);
This is a concrete implementation of JWK and JWA using RSA for signing.
The following attributes are inherited:
from JWK: 'key_type', '_RefObj'
from JWA: 'alg'
'key_type' is automatically set to RSA.
_RefObj contains a Crypt::OpenSSL::RSA object, which is the concrete implementation of RSA. This object takes care of padding and hashing during signing.
Internal helper function that creates the new JWK::RSA object with the various passed parameters from the public load_* or generate_new functions.
Input
$RSA - object that holds Crypt::OpenSSL::RSA $alg - scalar string representing the algorithm that will be used for signing
Output
WWW::LetsEncrypt::JWK::RSA object
To install WWW::LetsEncrypt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::LetsEncrypt
CPAN shell
perl -MCPAN -e shell install WWW::LetsEncrypt
For more information on module installation, please visit the detailed CPAN module installation guide.