Public Member Functions | |
def | children |
def | parents |
def | repositories |
def | serve_pre_save_hook |
Static Public Attributes | |
tuple | attributes = ("action", "tag", "self_id", "bsc_id", "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. | |
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 235 of file left_right.py.
def rpki.left_right.bsc_elt.children | ( | self | ) |
def rpki.left_right.bsc_elt.parents | ( | self | ) |
Fetch all parent objects that link to this BSC object.
Definition at line 258 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 254 of file left_right.py.
def rpki.left_right.bsc_elt.serve_pre_save_hook | ( | self, | ||
q_pdu, | ||||
r_pdu | ||||
) |
Extra server actions for bsc_elt -- handle key generation. For now this only allows RSA with SHA-256.
Reimplemented from rpki.xml_utils.data_elt.
Definition at line 266 of file left_right.py.
tuple rpki.left_right.bsc_elt.attributes = ("action", "tag", "self_id", "bsc_id", "key_type", "hash_alg", "key_length") [static] |
XML attributes for this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 239 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 241 of file left_right.py.
string rpki.left_right.bsc_elt.element_name = "bsc" [static] |
Definition at line 238 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 240 of file left_right.py.
rpki.left_right.bsc_elt.pkcs10_request = None [static] |
Definition at line 250 of file left_right.py.
rpki.left_right.bsc_elt.private_key_id = None [static] |
Definition at line 249 of file left_right.py.
rpki.left_right.bsc_elt.signing_cert = None [static] |
rpki.left_right.bsc_elt.signing_cert_crl = None [static] |
tuple rpki.left_right.bsc_elt.sql_template [static] |
Initial value:
rpki.sql.template("bsc", "bsc_id", "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 243 of file left_right.py.