On this page
  1. ssl.AlertDescription
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

ssl.AlertDescription

Up: ssl | Next: ssl.cert_time_to_seconds
Rel: ssl.cert_time_to_seconds, ssl.CertificateError, ssl.create_connection, ssl.create_default_context
Ref: docs.python.org — ssl.AlertDescription
Tags: #public #python3 #stdlib #ssl


Import

import ssl
from ssl import AlertDescription

Signature & Overview

ssl.AlertDescription(*values)

An enumeration.

Methods & Attributes

Usage

import ssl

assert ssl.AlertDescription.ALERT_DESCRIPTION_HANDSHAKE_FAILURE == 40

Gotchas

REPL Inspect

from ssl import AlertDescription
help(AlertDescription)

Linked from

Related notes