The Assimilation Project  based on Assimilation version 1.1.7.1474836767
cma.AssimCclasses.pyCryptFrame Class Reference
Inheritance diagram for cma.AssimCclasses.pyCryptFrame:
Collaboration diagram for cma.AssimCclasses.pyCryptFrame:

Public Member Functions

def __init__ (self, destaddr=None, Cstruct=None)
 
def receiver_id (self)
 
- Public Member Functions inherited from cma.AssimCclasses.pyFrame
def __init__ (self, initval, Cstruct=None)
 
def frametype (self)
 
def framelen (self)
 
def framevalue (self)
 
def frameend (self)
 
def dataspace (self)
 
def isvalid (self)
 
def setvalue (self, value)
 
def dump (self, prefix)
 
def __str__ (self)
 
- Public Member Functions inherited from cma.AssimCclasses.pyAssimObj
def __init__ (self, Cstruct=None)
 
def cclassname (self)
 
def __str__ (self)
 
def __del__ (self)
 
def refcount (self)
 

Static Public Member Functions

def get_key_ids ()
 
def get_cma_key_ids ()
 
def associate_identity (identityname, key_id)
 
def get_identity (key_id)
 
def get_dest_identity (destaddr)
 
def get_dest_key_id (destaddr)
 
def dest_set_key_id (destaddr, key_id)
 
- Static Public Member Functions inherited from cma.AssimCclasses.pyFrame
def Cstruct2Frame (frameptr)
 

Static Public Attributes

 NOTAKEY = AssimCtypes.NOTAKEY
 
 PUBLICKEY = AssimCtypes.PUBLICKEY
 
 PRIVATEKEY = AssimCtypes.PRIVATEKEY
 

Detailed Description

Abstract class for a generalized encryption frame
Our main importance is for our static methods which allow us
to map key ids to identities, and IP addresses to key ids.
The underlying C code then automatically creates the correct
CryptFrame objects for outgoing packets.

Definition at line 1458 of file AssimCclasses.py.

Constructor & Destructor Documentation

def cma.AssimCclasses.pyCryptFrame.__init__ (   self,
  destaddr = None,
  Cstruct = None 
)

Definition at line 1468 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct, and cryptframe_new_by_destaddr().

Here is the call graph for this function:

Member Function Documentation

def cma.AssimCclasses.pyCryptFrame.associate_identity (   identityname,
  key_id 
)
static
Associate the given identity name with the given key id
This allows many keys to be associated with a single identity, but
does not support a key being associated with multiple identities
(which doesn't make sense anyway).

Definition at line 1503 of file AssimCclasses.py.

References cryptframe_associate_identity().

Here is the call graph for this function:

def cma.AssimCclasses.pyCryptFrame.dest_set_key_id (   destaddr,
  key_id 
)
static
Set the public key we should use when talking to the given destination
address (including port).

Definition at line 1540 of file AssimCclasses.py.

References cryptframe_set_dest_key_id().

Here is the call graph for this function:

def cma.AssimCclasses.pyCryptFrame.get_cma_key_ids ( )
static

Definition at line 1494 of file AssimCclasses.py.

def cma.AssimCclasses.pyCryptFrame.get_dest_identity (   destaddr)
static

Definition at line 1524 of file AssimCclasses.py.

def cma.AssimCclasses.pyCryptFrame.get_dest_key_id (   destaddr)
static

Definition at line 1532 of file AssimCclasses.py.

References cryptframe_get_dest_key_id().

Here is the call graph for this function:

def cma.AssimCclasses.pyCryptFrame.get_identity (   key_id)
static

Definition at line 1515 of file AssimCclasses.py.

References cryptframe_whois_key_id().

Here is the call graph for this function:

def cma.AssimCclasses.pyCryptFrame.get_key_ids ( )
static

Definition at line 1481 of file AssimCclasses.py.

References cryptframe_get_key_ids().

Here is the call graph for this function:

def cma.AssimCclasses.pyCryptFrame.receiver_id (   self)

Definition at line 1476 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Field Documentation

cma.AssimCclasses.pyCryptFrame.NOTAKEY = AssimCtypes.NOTAKEY
static

Definition at line 1465 of file AssimCclasses.py.

cma.AssimCclasses.pyCryptFrame.PRIVATEKEY = AssimCtypes.PRIVATEKEY
static

Definition at line 1467 of file AssimCclasses.py.

cma.AssimCclasses.pyCryptFrame.PUBLICKEY = AssimCtypes.PUBLICKEY
static

Definition at line 1466 of file AssimCclasses.py.


The documentation for this class was generated from the following file: