RPKI Engine 1.0
|
Public Member Functions | |
def | cas |
def | query_up_down |
def | repository |
def | serve_post_save_hook |
def | serve_reissue |
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 | |
string | element_name = "parent" |
tuple | elements = ("bpki_cms_cert", "bpki_cms_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 855 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 887 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 974 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 880 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 893 of file left_right.py.
def rpki.left_right.parent_elt.serve_reissue | ( | self, | |
cb, | |||
eb | |||
) |
Handle a left-right reissue action for this parent.
Definition at line 926 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 910 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 918 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 934 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 861 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 864 of file left_right.py.
rpki.left_right.parent_elt.bpki_cms_cert = None [static] |
Definition at line 876 of file left_right.py.
rpki.left_right.parent_elt.bpki_cms_glue = None [static] |
Definition at line 877 of file left_right.py.
string rpki.left_right.parent_elt.element_name = "parent" [static] |
Definition at line 860 of file left_right.py.
tuple rpki.left_right.parent_elt.elements = ("bpki_cms_cert", "bpki_cms_glue") [static] |
XML elements contained by this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 863 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 874 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", "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 866 of file left_right.py.