rpki.left_right.bsc_elt Class Reference

Inheritance diagram for rpki.left_right.bsc_elt:

Inheritance graph

List of all members.

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


Detailed Description

<bsc/> (Business Signing Context) element.

Definition at line 235 of file left_right.py.


Member Function Documentation

def rpki.left_right.bsc_elt.children (   self  ) 

Fetch all child objects that link to this BSC object.

Definition at line 262 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 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.


Member Data Documentation

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.

Definition at line 250 of file left_right.py.

Definition at line 249 of file left_right.py.

Reimplemented in irbe-cli.bsc_elt.

Definition at line 251 of file left_right.py.

Reimplemented in irbe-cli.bsc_elt.

Definition at line 252 of file left_right.py.

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.


The documentation for this class was generated from the following file:

Generated on Sat Jun 21 07:55:39 2008 for RPKI Engine by  doxygen 1.5.5