eric5.Helpviewer.SslInfoDialog

Module implementing a dialog to show SSL certificate infos.

Global Attributes

None

Classes

SslInfoDialog Class implementing a dialog to show SSL certificate infos.

Functions

None


SslInfoDialog

Class implementing a dialog to show SSL certificate infos.

Derived from

QDialog, Ui_SslInfoDialog

Class Attributes

None

Methods

SslInfoDialog Constructor
__certificateString Private method to prepare some text for display.
__formatHexString Private method to format a hex string for display.
__serialNumber Private slot to format the certificate serial number.

SslInfoDialog (Constructor)

SslInfoDialog(certificate, parent = None)

Constructor

certificate
reference to the SSL certificate (QSslCertificate)
parent
reference to the parent widget (QWidget)

SslInfoDialog.__certificateString

__certificateString(txt)

Private method to prepare some text for display.

txt
text to be displayed (string)
Returns:
prepared text (string)

SslInfoDialog.__formatHexString

__formatHexString(hexString)

Private method to format a hex string for display.

hexString
hex string to be formatted (string)
Returns:
formatted string (string)

SslInfoDialog.__serialNumber

__serialNumber(cert)

Private slot to format the certificate serial number.

cert
reference to the SSL certificate (QSslCertificate)
Returns:
formated serial number (string)
Up