struct Protocol::Network::SecurityDetails

Overview

Security details about a request.

Included Modules

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def certificate_id : Security::CertificateId #

Certificate ID value.


[View source]
def certificate_transparency_compliance : CertificateTransparencyCompliance #

Whether the request complied with Certificate Transparency policy


[View source]
def cipher : String #

Cipher name.


[View source]
def encrypted_client_hello : Bool | Nil #

Whether the connection used Encrypted ClientHello


[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 protocol : String #

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


[View source]
def san_list : Array(String) #

Subject Alternative Name (SAN) DNS names and IP addresses.


[View source]
def server_signature_algorithm : Int::Primitive | Nil #

The signature algorithm used by the server in the TLS server signature, represented as a TLS SignatureScheme code point. Omitted if not applicable or not known.


[View source]
def signed_certificate_timestamp_list : Array(SignedCertificateTimestamp) #

List of signed certificate timestamps (SCTs).


[View source]
def subject_name : String #

Certificate subject name.


[View source]
def valid_from : TimeSinceEpoch #

Certificate valid from date.


[View source]
def valid_to : TimeSinceEpoch #

Certificate valid to (expiration) date


[View source]