NAME
Net::SSLLabs::Cert - Cert object
METHODS
new
a new Net::SSLLabs::Cert
object, accepts a JSON object as it's parameter.
subject
certificate subject
common_names
list of common names extracted from the subject
alt_names
alternative names
not_before
UNIX timestamp before which the certificate is not valid
not_after
UNIX timestamp after which the certificate is not valid
issuer_subject
issuer subject
sig_alg
certificate signature algorithm
issuer_label
issuer name
revocation_info
a number that represents revocation information present in the certificate:
crl_uris
list of CRL URIs extracted from the certificate.
ocsp_uris
list of OCSP URIs extracted from the certificate
revocation_status
a number that describes the revocation status of the certificate:
- 0 - not checked
- 1 - certificate revoked
- 2 - certificate not revoked
- 3 - revocation check error
- 4 - no revocation information
- 5 - internal error
crl_revocation_status
same as revocationStatus, but only for the CRL information (if any).
ocsp_revocation_status
same as revocationStatus, but only for the OCSP information (if any).
sgc
Server Gated Cryptography support; integer:
validation_type
E for Extended Validation certificates; may be null if unable to determine
issues
list of certificate issues, one bit per issue:
- bit 0 (1) - no chain of trust
- bit 1 (2) - not before
- bit 2 (4) - not after
- bit 3 (8) - hostname mismatch
- bit 4 (16) - revoked
- bit 5 (32) - bad common name
- bit 6 (64) - self-signed
- bit 7 (128) - blacklisted
- bit 8 (256) - insecure signature
sct
true if the certificate contains an embedded SCT; false otherwise.