NAME

WWW::LetsEncrypt::Message::Directory

SYNOPSIS

use WWW::LetsEncrypt::Message::Directory;

my $Directory = WWW::LetsEncrypt::Message::Directory->new();

my $result_ref = $Directory->do_request();
my $urls_ref   = $result_ref->{directory};

# Save the nonce for later, maybe?
my $nonce = $Directory->nonce();

DESCRIPTION

This module implements the ACME message for requesting the directory from the server. Note: This does not perform any kind of configuration for later messages. Mostly used to get the first nonce for later ACME messages.

Private Functions

_process_response

Internal function that processes revocation messages.

Input

$self     - Object reference
$Response - HTTP::Response object reference

Output

# if getting the directory was successful
\%hash_ref = {
	successful => 1,
	finished   => 1,
	directory  => \%hash_ref that is the directory information (see the RFC)
}

# Otherwise
\%hash_ref = {
	successful => 0,
	finished   => 1,
}

# Else, an error \%hashref

1 POD Error

The following errors were encountered while parsing the POD:

Around line 39:

=over without closing =back