The Assimilation Project  based on Assimilation version
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


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

Constructor & Destructor Documentation

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

Definition at line 1468 of file

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,
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

References cryptframe_associate_identity().

Here is the call graph for this function:

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

Definition at line 1540 of file

References cryptframe_set_dest_key_id().

Here is the call graph for this function:

def cma.AssimCclasses.pyCryptFrame.get_cma_key_ids ( )

Definition at line 1494 of file

def cma.AssimCclasses.pyCryptFrame.get_dest_identity (   destaddr)

Definition at line 1524 of file

def cma.AssimCclasses.pyCryptFrame.get_dest_key_id (   destaddr)

Definition at line 1532 of file

References cryptframe_get_dest_key_id().

Here is the call graph for this function:

def cma.AssimCclasses.pyCryptFrame.get_identity (   key_id)

Definition at line 1515 of file

References cryptframe_whois_key_id().

Here is the call graph for this function:

def cma.AssimCclasses.pyCryptFrame.get_key_ids ( )

Definition at line 1481 of file

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

References cma.AssimCclasses.pyAssimObj._Cstruct.

Field Documentation

cma.AssimCclasses.pyCryptFrame.NOTAKEY = AssimCtypes.NOTAKEY

Definition at line 1465 of file

cma.AssimCclasses.pyCryptFrame.PRIVATEKEY = AssimCtypes.PRIVATEKEY

Definition at line 1467 of file

cma.AssimCclasses.pyCryptFrame.PUBLICKEY = AssimCtypes.PUBLICKEY

Definition at line 1466 of file

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