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_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 | rpki_base_uri = cfg.get("rpki-base-uri", "rsync://" + rpki_class_name + ".invalid/") |
tuple | rpki_class_name = cfg.get("rpki-class-name", "wombat") |
tuple | rpki_root_cert = rpki.x509.X509(Auto_file = cfg.get("rpki-root-cert")) |
tuple | rpki_root_cert_uri = cfg.get("rpki-root-cert-uri", rpki_base_uri + "Root.cer") |
tuple | rpki_root_crl = cfg.get("rpki-root-crl", "Root.crl") |
tuple | rpki_root_dir = cfg.get("rpki-root-dir") |
tuple | rpki_root_key = rpki.x509.RSA( Auto_file = cfg.get("rpki-root-key")) |
tuple | rpki_root_manifest = cfg.get("rpki-root-manifest", "Root.mnf") |
tuple | rpki_subject_cert = cfg.get("rpki-subject-cert", "Subroot.cer") |
tuple | rpki_subject_lifetime = rpki.sundial.timedelta(days = 30) |
tuple | rpki_subject_pkcs10 = cfg.get("rpki-subject-pkcs10", "") |
| 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 1912 2008-06-21 07:55:01Z 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 |
) |
|
def rootd.del_subject_cert |
( |
|
) |
|
def rootd.get_subject_cert |
( |
|
) |
|
def rootd.set_subject_cert |
( |
|
cert |
) |
|
def rootd.stash_subject_pkcs10 |
( |
|
pkcs10 |
) |
|
def rootd.up_down_handler |
( |
|
query, |
|
|
|
path | |
|
) |
| | |
Variable Documentation
tuple rootd.rpki_base_uri = cfg.get("rpki-base-uri", "rsync://" + rpki_class_name + ".invalid/") |