The method unconditionally raises an exception since the STLS command doesn't make any sense on an already established SSL/TLS session.
(self, keyfile=None, certfile=None, context=None)
| 458 | return sock |
| 459 | |
| 460 | def stls(self, keyfile=None, certfile=None, context=None): |
| 461 | """The method unconditionally raises an exception since the |
| 462 | STLS command doesn't make any sense on an already established |
| 463 | SSL/TLS session. |
| 464 | """ |
| 465 | raise error_proto('-ERR TLS session already established') |
| 466 | |
| 467 | __all__.append("POP3_SSL") |
| 468 |
nothing calls this directly
no test coverage detected