Package rootd


Classes

class  cms_msg
class  issue_pdu
class  list_pdu
class  message_pdu
class  revoke_pdu
class  sax_handler

Functions

def compose_response
def del_subject_cert
def get_subject_cert
def set_subject_cert
def stash_subject_pkcs10
def up_down_handler

Variables

tuple bpki_ta = rpki.x509.X509(Auto_file = cfg.get("bpki-ta"))
tuple cfg = rpki.config.parser(cfg_file, "rootd")
string cfg_file = "rootd.conf"
tuple child_bpki_cert = rpki.x509.X509(Auto_file = cfg.get("child-bpki-cert"))
tuple client_ta = (bpki_ta, child_bpki_cert)
 handlers = up_down_handler)
 host = https_server_host,
tuple https_server_host = cfg.get("server-host", "")
tuple https_server_port = int(cfg.get("server-port"))
 port = https_server_port,
tuple rootd_base = cfg.get("rootd_base", "rsync://" + rootd_name + ".invalid/")
tuple rootd_bpki_cert = rpki.x509.X509(Auto_file = cfg.get("rootd-bpki-cert"))
tuple rootd_bpki_crl = rpki.x509.CRL( Auto_file = cfg.get("rootd-bpki-crl"))
tuple rootd_bpki_key = rpki.x509.RSA( Auto_file = cfg.get("rootd-bpki-key"))
tuple rootd_cert = cfg.get("rootd_cert", rootd_base + "rootd.cer")
tuple rootd_name = cfg.get("rootd_name", "wombat")
tuple rpki_issuer = rpki.x509.X509(Auto_file = cfg.get("rpki-issuer"))
tuple rpki_key = rpki.x509.RSA( Auto_file = cfg.get("rpki-key"))
tuple rpki_pkcs10_filename = cfg.get("rpki-pkcs10-filename", "")
tuple rpki_subject_filename = cfg.get("rpki-subject-filename")
tuple rpki_subject_lifetime = rpki.sundial.timedelta(days = 30)
 server_cert = rootd_bpki_cert,


Detailed Description

Trivial RPKI up-down protocol root server, for testing.  Not suitable
for production use.  Overrides a bunch of method definitions from the
rpki.* classes in order to reuse as much code as possible.

Usage: python rootd.py [ { -c | --config } configfile ] [ { -h | --help } ]

Default configuration file is rootd.conf, override with --config option.

$Id: rootd.py 1880 2008-06-12 21:54:53Z sra $

Copyright (C) 2007--2008  American Registry for Internet Numbers ("ARIN")

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND ARIN DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS.  IN NO EVENT SHALL ARIN BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

Function Documentation

def rootd.compose_response (   r_msg  ) 

Definition at line 55 of file rootd.py.

def rootd.del_subject_cert (  ) 

Definition at line 46 of file rootd.py.

def rootd.get_subject_cert (  ) 

Definition at line 34 of file rootd.py.

def rootd.set_subject_cert (   cert  ) 

Definition at line 41 of file rootd.py.

def rootd.stash_subject_pkcs10 (   pkcs10  ) 

Definition at line 49 of file rootd.py.

def rootd.up_down_handler (   query,
  path 
)

Definition at line 133 of file rootd.py.


Variable Documentation

tuple rootd.bpki_ta = rpki.x509.X509(Auto_file = cfg.get("bpki-ta"))

Definition at line 172 of file rootd.py.

Definition at line 170 of file rootd.py.

rootd.cfg_file = "rootd.conf"

Definition at line 158 of file rootd.py.

tuple rootd.child_bpki_cert = rpki.x509.X509(Auto_file = cfg.get("child-bpki-cert"))

Definition at line 176 of file rootd.py.

Definition at line 193 of file rootd.py.

rootd.handlers = up_down_handler)

Definition at line 196 of file rootd.py.

Definition at line 194 of file rootd.py.

tuple rootd.https_server_host = cfg.get("server-host", "")

Definition at line 178 of file rootd.py.

tuple rootd.https_server_port = int(cfg.get("server-port"))

Definition at line 179 of file rootd.py.

Definition at line 195 of file rootd.py.

tuple rootd.rootd_base = cfg.get("rootd_base", "rsync://" + rootd_name + ".invalid/")

Definition at line 188 of file rootd.py.

tuple rootd.rootd_bpki_cert = rpki.x509.X509(Auto_file = cfg.get("rootd-bpki-cert"))

Definition at line 174 of file rootd.py.

tuple rootd.rootd_bpki_crl = rpki.x509.CRL( Auto_file = cfg.get("rootd-bpki-crl"))

Definition at line 175 of file rootd.py.

tuple rootd.rootd_bpki_key = rpki.x509.RSA( Auto_file = cfg.get("rootd-bpki-key"))

Definition at line 173 of file rootd.py.

tuple rootd.rootd_cert = cfg.get("rootd_cert", rootd_base + "rootd.cer")

Definition at line 189 of file rootd.py.

tuple rootd.rootd_name = cfg.get("rootd_name", "wombat")

Definition at line 187 of file rootd.py.

tuple rootd.rpki_issuer = rpki.x509.X509(Auto_file = cfg.get("rpki-issuer"))

Definition at line 182 of file rootd.py.

tuple rootd.rpki_key = rpki.x509.RSA( Auto_file = cfg.get("rpki-key"))

Definition at line 181 of file rootd.py.

tuple rootd.rpki_pkcs10_filename = cfg.get("rpki-pkcs10-filename", "")

Definition at line 185 of file rootd.py.

tuple rootd.rpki_subject_filename = cfg.get("rpki-subject-filename")

Definition at line 184 of file rootd.py.

Definition at line 32 of file rootd.py.

Definition at line 192 of file rootd.py.


Generated on Mon Jun 16 22:22:51 2008 for RPKI Engine by  doxygen 1.5.5