lib/Crypt/Perl/JWK.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.0% 19 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Crypt/Perl/X.pm ↑ Summary lib/Crypt/Perl/RSA/Template.pm »
1 package Crypt::Perl::JWK;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use MIME::Base64 ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 ▶use Crypt::Perl::BigInt ();
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 sub jwk_num_to_bigint {
11 22 ▶ return Crypt::Perl::BigInt->from_bytes( MIME::Base64::decode_base64url($_[0]));
Subroutine jwk_num_to_bigint: called CC=1 SCAR=0.0
Pod undocumented
12 }
13  
14 3 1;
« lib/Crypt/Perl/X.pm ↑ Summary lib/Crypt/Perl/RSA/Template.pm »