kprotocol3548%python.module
fault.security

fault.kernel protocol adapters for transport security contexts.

weakref
import

types0
import

importlib0
import

weak0
import

flows0
import

identity0
import

lsf0
import

get_application_context60%
function

get_application_context()

Violation0
class

Security Context restriction violation.

Usually caused by implementation errors, violations are abstractions used to provide a symbolic identifier for the restriction that was violated.

ViolationProperties

identifier

The symbolic identifier used to describe the error.

description

An implementation specific description of the error.

Violation__init__20%
method

__init__(self, identifier, description)

Violation__str__10%
method

__str__(self)

load_context120%
function

load_context(route, type)

load30%
function

load(type, application)

Load the extension module for the given type and application.

loadParameters

type

The identifier for the adapter's protocol. Normally, kprotocol-client or kprotocol-server.

application

The symbolic name for the application. Defaults to http.

name

Undocumented.

SecuredTransmit0
class

Transport stack entry for secured output. Holds a weak reference to the corresponding SecuredReceive instance using stx_receive_channel.

SecuredTransmit_stx_receive_closed
data

_stx_receive_closed = False

SecuredTransmitstx_receive_closed340%
method

stx_receive_closed(self)

Signal endpoint recognizing when the corresponding receive has seen a transport protocol level termination.

SecuredTransmitstx_receive_interrupt40%
method

stx_receive_interrupt(self)

Wire closed without protocol shutdown.

SecuredTransmitf_terminate175%
method

f_terminate(self)

SecuredReceive0
class

Transport stack entry for secured input. Holds a strong reference to the corresponding SecuredTransmit instance using srx_transmit_channel.

SecuredReceiveinterrupt20%
method

interrupt(self)

SecuredReceivep_terminated0
method

p_terminated(self)

SecuredReceivef_terminate175%
method

f_terminate(self)

allocate0
function

allocate(tls)

Construct a protocol stack pair using the given tls instance.