Package cross_certify


Functions

def make_ext
def usage

Variables

tuple cert = rpki.x509.X509(POWpkix = x)
 child = None
 critical = False,
tuple f = open(serial_file, "r")
 keypair = None
tuple lifetime = rpki.sundial.timedelta(days = 30)
 notAfter = now+lifetime
tuple now = rpki.sundial.now()
 output = None
 parent = None
tuple serial = f.read()
 serial_file = None
tuple value = child.get_SKI()
tuple x = POW.pkix.Certificate()

Detailed Description

Cross-certification tool to issue a new certificate based on an old
one that was issued by somebody else.  The point of the exercise is to
end up with a valid certificate in our own BPKI which has the same
subject name and subject public key as the one we're replacing.

Usage: python cross_certify.py { -i | --in     } input_cert
                             { -c | --ca     } issuing_cert
                             { -k | --key    } issuing_cert_key
                             { -s | --serial } serial_filename
                             [ { -h | --help } ]
                             [ { -o | --out  }     filename  (default: stdout)  ]
                             [ { -l | --lifetime } timedelta (default: 30 days) ]

$Id: cross_certify.py 2433 2009-05-16 20:44:12Z sra $

Copyright (C) 2009  Internet Systems Consortium ("ISC")

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 ISC DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS.  IN NO EVENT SHALL ISC 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.

Portions 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 cross_certify.make_ext (   name,
  critical,
  value 
)

Definition at line 107 of file cross_certify.py.

def cross_certify.usage (   errmsg = None  ) 

Definition at line 51 of file cross_certify.py.


Variable Documentation

tuple cross_certify.cert = rpki.x509.X509(POWpkix = x)

Definition at line 132 of file cross_certify.py.

tuple cross_certify::child = None

Definition at line 59 of file cross_certify.py.

Definition at line 122 of file cross_certify.py.

tuple cross_certify::f = open(serial_file, "r")

Definition at line 100 of file cross_certify.py.

tuple cross_certify::keypair = None

Definition at line 61 of file cross_certify.py.

Definition at line 63 of file cross_certify.py.

Definition at line 97 of file cross_certify.py.

tuple cross_certify.now = rpki.sundial.now()

Definition at line 96 of file cross_certify.py.

Definition at line 64 of file cross_certify.py.

tuple cross_certify::parent = None

Definition at line 60 of file cross_certify.py.

int cross_certify::serial = f.read()

Definition at line 101 of file cross_certify.py.

Definition at line 62 of file cross_certify.py.

tuple cross_certify::value = child.get_SKI()

Definition at line 123 of file cross_certify.py.

tuple cross_certify.x = POW.pkix.Certificate()

Definition at line 111 of file cross_certify.py.


Generated on Tue Jun 2 19:10:19 2009 for RPKI Engine by  doxygen 1.5.8