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
commonNames
list of common names extracted from the subject
altNames
alternative names
notBefore
UNIX timestamp before which the certificate is not valid
notAfter
UNIX timestamp after which the certificate is not valid
issuerSubject
issuer subject
sigAlg
certificate signature algorithm
issuerLabel
issuer name
revocationInfo
a number that represents revocation information present in the certificate:
crlURIs
list of CRL URIs extracted from the certificate.
ocspURIs
list of OCSP URIs extracted from the certificate
revocationStatus
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
crlRevocationStatus
same as revocationStatus, but only for the CRL information (if any).
ocspRevocationStatus
same as revocationStatus, but only for the OCSP information (if any).
sgc
Server Gated Cryptography support; integer:
validationType
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.