package WebService::SSLLabs;
use strict;
use warnings;
use JSON();
use URI::Escape();
use LWP::UserAgent();
use WebService::SSLLabs::Info();
use WebService::SSLLabs::Host();
use WebService::SSLLabs::
self->_parse_success($response);
return WebService::SSLLabs::Info->new(
JSON::decode_json( $response->decoded_content() ) );
}
else {
Carp::croak( "Failed to retrie
->_parse_success($response);
my $host = WebService::SSLLabs::Host->new(
JSON::decode_json( $response->decoded_content() ) );
$self->{_previous_host} = $host;
return
Service::SSLLabs::DrownHost();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
$self->{key} = WebService::SSLLabs::Key->new( $self
nt;
use strict;
use warnings;
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub id {
my ($self) = @_;
r
rict;
use warnings;
use URI();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub alt_names {
my ($self) = @_
ervice::SSLLabs::Simulation();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
my @simulations = @{ $self->{results} };
$self->
WebService::SSLLabs::Suite();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub cipher_strength {
my ($self
e::SSLLabs::EndpointDetails();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
if ( defined $self->{details} ) {
$self->{details} =
WebSer
st;
use strict;
use warnings;
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub ip {
my ($self) = @_;
r
bService::SSLLabs::Endpoint();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
if ( defined $self->{endpoints} ) {
my @endpoints = @{ $self->{endpoi
Service::SSLLabs::ChainCert();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
if ( defined $self->{certs} ) {
my @certs =
es;
use strict;
use warnings;
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub status_details {
my ($self)
ey;
use strict;
use warnings;
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub strength {
my ($self) = @_;
Service::SSLLabs::SimClient();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
$self->{client} = WebService::SSLLabs::SimClient->ne
ol;
use strict;
use warnings;
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub id {
my ($self) = @_;
r
WebService::SSLLabs::Suite();
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
if ( defined $self->{list} ) {
my @suites =
fo;
use strict;
use warnings;
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub version {
my ($self) = @_;
rt;
use strict;
use warnings;
our $VERSION = '0.33';
sub new {
my ( $class, $json ) = @_;
my $self = $json;
bless $self, $class;
return $self;
}
sub subject {
my ($self) = @_;