GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Security::TLSCheck::Checks(3) User Contributed Perl Documentation Security::TLSCheck::Checks(3)

Security::TLSCheck::Checks - Base class for all checks

As check subclass:

 package Security::TLSCheck::Checks::MyCheck
 
 use Moose;
 extends 'Security::TLSCheck::Checks'

 has '+description' => ( default => "Checking my checks");

As caller:

 use Security::TLSCheck::Checks::MyCheck;
 
 my $check = Security::TLSCheck::Checks::MyCheck->new();
 say "Check Name:        " . $check->name;
 say "Check Description: " . $check->description;

 my @results = $check->run_check;
 
 say "Check runtime: " . $check->runtime;

Base class for all checks. Defines all common attributes, and helper methods.

For a project overview, see the README.md of the Distribution.

Default name is name of the package, without the basename.

Default name is name of the package, without the basename.

generaters "www.domain" from domain.

Very simple at the moment: only prepends www.

Returns the runtime in seconds of this check.

Default for runing all tests: the tests are started via the method calls of key_figures in the result method.

So, this method only calls the result method and returns its return value.

For more complex runs override run_check.

calculates the result, according to the "key_figures" attribute.

Returns a array(ref) of hashrefs:

  [
     {
     info  => { name => "My Name", type => "flag", ... },
     value => 3,
     },
  
  ]
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.