Inherits rpki::left_right::data_elt.
Inherited by irbe_cli.parent_elt.
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 |
XML attributes for this element. | |
tuple | booleans = ("rekey", "reissue", "revoke", "revoke_forgotten") |
Boolean attributes (value "yes" or "no") for this element. | |
bpki_cms_cert = None | |
bpki_cms_glue = None | |
bpki_https_cert = None | |
bpki_https_glue = None | |
string | element_name = "parent" |
tuple | elements = ("bpki_cms_cert", "bpki_cms_glue", "bpki_https_cert", "bpki_https_glue") |
XML elements contained by this element. | |
tuple | handles = (("self", self_elt), ("bsc", bsc_elt), ("repository", repository_elt)) |
tuple | sql_template |
<parent/> element.
Definition at line 653 of file left_right.py.
def rpki.left_right.parent_elt.cas | ( | self | ) |
Fetch all CA objects that link to this parent object.
Definition at line 680 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 756 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 676 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.
Reimplemented from rpki.xml_utils.data_elt.
Definition at line 684 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 700 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 708 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 716 of file left_right.py.
tuple rpki.left_right.parent_elt.attributes [static] |
("action", "tag", "self_handle", "parent_handle", "bsc_handle", "repository_handle", "peer_contact_uri", "sia_base", "sender_name", "recipient_name")
XML attributes for this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 659 of file left_right.py.
tuple rpki.left_right.parent_elt.booleans = ("rekey", "reissue", "revoke", "revoke_forgotten") [static] |
Boolean attributes (value "yes" or "no") for this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 662 of file left_right.py.
rpki.left_right.parent_elt.bpki_cms_cert = None [static] |
Definition at line 671 of file left_right.py.
rpki.left_right.parent_elt.bpki_cms_glue = None [static] |
Definition at line 672 of file left_right.py.
rpki.left_right.parent_elt.bpki_https_cert = None [static] |
Definition at line 673 of file left_right.py.
rpki.left_right.parent_elt.bpki_https_glue = None [static] |
Definition at line 674 of file left_right.py.
string rpki.left_right.parent_elt.element_name = "parent" [static] |
Definition at line 658 of file left_right.py.
tuple rpki.left_right.parent_elt.elements = ("bpki_cms_cert", "bpki_cms_glue", "bpki_https_cert", "bpki_https_glue") [static] |
XML elements contained by this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 661 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 669 of file left_right.py.
tuple rpki.left_right.parent_elt.sql_template [static] |
rpki.sql.template("parent", "parent_id", "parent_handle", "self_id", "bsc_id", "repository_id", ("bpki_cms_cert", rpki.x509.X509), ("bpki_cms_glue", rpki.x509.X509), ("bpki_https_cert", rpki.x509.X509), ("bpki_https_glue", rpki.x509.X509), "peer_contact_uri", "sia_base", "sender_name", "recipient_name")
Definition at line 664 of file left_right.py.