NAME

Net::SSLLabs::Host - Host object

METHODS

new

a new Net::SSLLabs::Host object, accepts a JSON object as it's parameter.

host

assessment host, which can be a hostname or an IP address

port

assessment port (e.g., 443)

protocol

protocol (e.g., HTTP)

is_public

true if this assessment publicly available (listed on the SSL Labs assessment boards)

status

assessment status; possible values: DNS, ERROR, IN_PROGRESS, and READY.

status_message

status message in English. When status is ERROR, this field will contain an error message.

start_time

assessment starting time, in milliseconds since 1970

test_time

assessment completion time, in milliseconds since 1970

engine_version

assessment engine version (e.g., "1.0.120")

criteria_version

grading criteria version (e.g., "2009")

cache_expiry_time

when will the assessment results expire from the cache (typically set only for assessment with errors; otherwise the results stay in the cache for as long as there's sufficient room)

endpoints

list of <Net::SSLLabs::Endpoint> objects

cert_hostnames

the list of certificate hostnames collected from the certificates seen during assessment. The hostnames may not be valid. This field is available only if the server certificate doesn't match the requested hostname. In that case, this field saves you some time as you don't have to inspect the certificates yourself to find out what valid hostnames might be.