ACME2/LetsEncrypt.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 21 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::ACME2::LetsEncrypt;
2  
3 use strict;
4 use warnings;
5  
6 use parent qw( Net::ACME2 );
7  
8 =encoding utf-8
9  
10 =head1 NAME
11  
12 Net::ACME2::LetsEncrypt - Let’s Encrypt’s v2 API endpoint
13  
14 =head1 SYNOPSIS
15  
16 See L<Net::ACME2> for usage examples.
17  
18 =cut
19  
20 use constant {
21 _STAGING_SERVER => 'acme-staging-v02.api.letsencrypt.org',
22 _PRODUCTION_SERVER => 'acme-v02.api.letsencrypt.org',
23 };
24  
25 use constant {
26 DIRECTORY_PATH => '/directory',
27  
28 #JWS_FORMAT => 'compact', #v1 supported this?
29 };
30  
31 *HOST = *_PRODUCTION_SERVER;
32  
33 1;