mokr.network.security ===================== .. py:module:: mokr.network.security Attributes ---------- .. autoapisummary:: mokr.network.security.LOGGER Classes ------- .. autoapisummary:: mokr.network.security.SecurityDetails Module Contents --------------- .. py:data:: LOGGER .. py:class:: SecurityDetails(subject_name: str, issuer: str, valid_from: int, valid_to: int, protocol: str) A simple representation of remote response security details. :param subject_name: Subject to which the certificate was issued to. :type subject_name: str :param issuer: Name of issuer of the certificate. :type issuer: str :param valid_from: Unix time string of start of certificate validity. :type valid_from: int :param valid_to: Unix time string of end of certificate validity. :type valid_to: int :param protocol: Security protocol (e.g. "TLS1.2", "TLS1.3"). :type protocol: str .. py:property:: subject_name :type: str Subject to which the certificate was issued to. .. py:property:: issuer :type: str Name of issuer of the certificate. .. py:property:: valid_from :type: int Unix time string of start of certificate validity. .. py:property:: valid_to :type: int Unix time string of end of certificate validity. .. py:property:: protocol :type: str Security protocol (e.g. "TLS1.2", "TLS1.3").