Inherits rpki::left_right::data_elt.
Inherited by irbe_cli.bsc_elt.
Public Member Functions | |
def | children |
def | parents |
def | repositories |
def | serve_pre_save_hook |
Static Public Attributes | |
tuple | attributes = ("action", "tag", "self_handle", "bsc_handle", "key_type", "hash_alg", "key_length") |
XML attributes for this element. | |
tuple | booleans = ("generate_keypair",) |
Boolean attributes (value "yes" or "no") for this element. | |
string | element_name = "bsc" |
tuple | elements = ("signing_cert", "signing_cert_crl", "pkcs10_request") |
XML elements contained by this element. | |
tuple | handles = (("self", self_elt),) |
pkcs10_request = None | |
private_key_id = None | |
signing_cert = None | |
signing_cert_crl = None | |
tuple | sql_template |
<bsc/> (Business Signing Context) element.
Definition at line 526 of file left_right.py.
def rpki.left_right.bsc_elt.children | ( | self | ) |
Fetch all child objects that link to this BSC object.
Definition at line 557 of file left_right.py.
def rpki.left_right.bsc_elt.parents | ( | self | ) |
Fetch all parent objects that link to this BSC object.
Definition at line 553 of file left_right.py.
def rpki.left_right.bsc_elt.repositories | ( | self | ) |
Fetch all repository objects that link to this BSC object.
Definition at line 549 of file left_right.py.
def rpki.left_right.bsc_elt.serve_pre_save_hook | ( | self, | ||
q_pdu, | ||||
r_pdu, | ||||
cb, | ||||
eb | ||||
) |
Extra server actions for bsc_elt -- handle key generation. For now this only allows RSA with SHA-256.
Reimplemented from rpki.left_right.data_elt.
Definition at line 561 of file left_right.py.
tuple rpki.left_right.bsc_elt.attributes = ("action", "tag", "self_handle", "bsc_handle", "key_type", "hash_alg", "key_length") [static] |
XML attributes for this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 532 of file left_right.py.
tuple rpki.left_right.bsc_elt.booleans = ("generate_keypair",) [static] |
Boolean attributes (value "yes" or "no") for this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 534 of file left_right.py.
string rpki.left_right.bsc_elt.element_name = "bsc" [static] |
Definition at line 531 of file left_right.py.
tuple rpki.left_right.bsc_elt.elements = ("signing_cert", "signing_cert_crl", "pkcs10_request") [static] |
XML elements contained by this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 533 of file left_right.py.
tuple rpki.left_right.bsc_elt.handles = (("self", self_elt),) [static] |
Reimplemented from rpki.left_right.data_elt.
Definition at line 542 of file left_right.py.
rpki.left_right.bsc_elt.pkcs10_request = None [static] |
Definition at line 545 of file left_right.py.
rpki.left_right.bsc_elt.private_key_id = None [static] |
Definition at line 544 of file left_right.py.
rpki.left_right.bsc_elt.signing_cert = None [static] |
Reimplemented in irbe_cli.bsc_elt.
Definition at line 546 of file left_right.py.
rpki.left_right.bsc_elt.signing_cert_crl = None [static] |
Reimplemented in irbe_cli.bsc_elt.
Definition at line 547 of file left_right.py.
tuple rpki.left_right.bsc_elt.sql_template [static] |
rpki.sql.template("bsc", "bsc_id", "bsc_handle", "self_id", "hash_alg", ("private_key_id", rpki.x509.RSA), ("pkcs10_request", rpki.x509.PKCS10), ("signing_cert", rpki.x509.X509), ("signing_cert_crl", rpki.x509.CRL))
Definition at line 536 of file left_right.py.