Public Member Functions | Static Public Attributes

rpki.left_right.parent_elt Class Reference

Inherits rpki::left_right::data_elt.

Inherited by irbe_cli.parent_elt.

Collaboration diagram for rpki.left_right.parent_elt:
Collaboration graph

List of all members.

Public Member Functions

def cas
def query_up_down
def repository
def serve_post_save_hook
def serve_rekey
def serve_revoke
def serve_revoke_forgotten

Static Public Attributes

tuple attributes
tuple booleans = ("rekey", "reissue", "revoke", "revoke_forgotten")
 bpki_cms_cert = None
 bpki_cms_glue = None
string element_name = "parent"
tuple elements = ("bpki_cms_cert", "bpki_cms_glue")
tuple handles = (("self", self_elt), ("bsc", bsc_elt), ("repository", repository_elt))
tuple sql_template

Detailed Description

<parent/> element.

Definition at line 702 of file left_right.py.


Member Function Documentation

def rpki.left_right.parent_elt.cas (   self  ) 
Fetch all CA objects that link to this parent object.

Definition at line 730 of file left_right.py.

def rpki.left_right.parent_elt.query_up_down (   self,
  q_pdu,
  cb,
  eb 
)
Client code for sending one up-down query PDU to this parent.

Definition at line 806 of file left_right.py.

def rpki.left_right.parent_elt.repository (   self  ) 
Fetch repository object to which this parent object links.

Definition at line 726 of file left_right.py.

def rpki.left_right.parent_elt.serve_post_save_hook (   self,
  q_pdu,
  r_pdu,
  cb,
  eb 
)
Extra server actions for parent_elt.

Definition at line 734 of file left_right.py.

def rpki.left_right.parent_elt.serve_rekey (   self,
  cb,
  eb 
)
Handle a left-right rekey action for this parent.

Definition at line 750 of file left_right.py.

def rpki.left_right.parent_elt.serve_revoke (   self,
  cb,
  eb 
)
Handle a left-right revoke action for this parent.

Definition at line 758 of file left_right.py.

def rpki.left_right.parent_elt.serve_revoke_forgotten (   self,
  cb,
  eb 
)
Handle a left-right revoke_forgotten action for this parent.

This is a bit fiddly: we have to compare the result of an up-down
list query with what we have locally and identify the SKIs of any
certificates that have gone missing.  This should never happen in
ordinary operation, but can arise if we have somehow lost a
private key, in which case there is nothing more we can do with
the issued cert, so we have to clear it.  As this really is not
supposed to happen, we don't clear it automatically, instead we
require an explicit trigger.

Definition at line 766 of file left_right.py.


Member Data Documentation

Initial value:
("action", "tag", "self_handle", "parent_handle", "bsc_handle", "repository_handle",
                "peer_contact_uri", "sia_base", "sender_name", "recipient_name")

Definition at line 708 of file left_right.py.

tuple rpki.left_right.parent_elt.booleans = ("rekey", "reissue", "revoke", "revoke_forgotten") [static]

Definition at line 711 of file left_right.py.

Definition at line 723 of file left_right.py.

Definition at line 724 of file left_right.py.

string rpki.left_right.parent_elt.element_name = "parent" [static]

Definition at line 707 of file left_right.py.

tuple rpki.left_right.parent_elt.elements = ("bpki_cms_cert", "bpki_cms_glue") [static]

Definition at line 710 of file left_right.py.

tuple rpki.left_right.parent_elt.handles = (("self", self_elt), ("bsc", bsc_elt), ("repository", repository_elt)) [static]

Reimplemented from rpki.left_right.data_elt.

Definition at line 721 of file left_right.py.

Initial value:
rpki.sql.template("parent", "parent_id", "parent_handle",
                                   "self_id", "bsc_id", "repository_id",
                                   "peer_contact_uri", "sia_base",
                                   "sender_name", "recipient_name",
                                   ("bpki_cms_cert", rpki.x509.X509),
                                   ("bpki_cms_glue", rpki.x509.X509),
                                   ("last_cms_timestamp", rpki.sundial.datetime))

Definition at line 713 of file left_right.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables