struct Protocol::Security::CertificateSecurityState

Overview

Details about the security state of the page certificate.

Included Modules

Defined in:

protocol/security.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def certificate : Array(String) #

Page certificate.


[View source]
def certificate_has_sha1_signature : Bool #

True if the certificate has a SHA1 signature in the chain.


[View source]
def certificate_has_weak_signature : Bool #

True if the certificate uses a weak signature aglorithm.


[View source]
def certificate_network_error : String | Nil #

The highest priority network error code, if the certificate has an error.


[View source]
def cipher : String #

Cipher name.


[View source]
def issuer : String #

Name of the issuing CA.


[View source]
def key_exchange : String #

Key Exchange used by the connection, or the empty string if not applicable.


[View source]
def key_exchange_group : String | Nil #

(EC)DH group used by the connection, if applicable.


[View source]
def mac : String | Nil #

TLS MAC. Note that AEAD ciphers do not have separate MACs.


[View source]
def modern_ssl : Bool #

True if modern SSL


[View source]
def obsolete_ssl_cipher : Bool #

True if the connection is using an obsolete SSL cipher.


[View source]
def obsolete_ssl_key_exchange : Bool #

True if the connection is using an obsolete SSL key exchange.


[View source]
def obsolete_ssl_protocol : Bool #

True if the connection is using an obsolete SSL protocol.


[View source]
def obsolete_ssl_signature : Bool #

True if the connection is using an obsolete SSL signature.


[View source]
def protocol : String #

Protocol name (e.g. "TLS 1.2" or "QUIC").


[View source]
def subject_name : String #

Certificate subject name.


[View source]
def valid_from : Network::TimeSinceEpoch #

Certificate valid from date.


[View source]
def valid_to : Network::TimeSinceEpoch #

Certificate valid to (expiration) date


[View source]