RPKI Engine 1.0
|
Public Member Functions | |
def | __init__ |
def | ca_detail |
def | generate |
def | published_callback |
def | regenerate |
def | revoke |
def | self |
def | update |
def | uri |
def | uri_from_key |
def | uri_tail |
Public Attributes | |
gctx | |
self_id | |
Static Public Attributes | |
ca_detail_id = None | |
cert = None | |
ghostbuster = None | |
published = None | |
tuple | sql_template |
vcard = None |
Ghostbusters record.
Definition at line 1607 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.__init__ | ( | self, | |
gctx = None , |
|||
self_id = None , |
|||
ca_detail_id = None , |
|||
vcard = None |
|||
) |
Definition at line 1642 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.ca_detail | ( | self | ) |
Fetch ca_detail object to which this ghostbuster_obj links.
Definition at line 1636 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.generate | ( | self, | |
publisher, | |||
fast = False |
|||
) |
Generate a Ghostbuster record Once we have the right covering certificate, we generate the ghostbuster payload, generate a new EE certificate, use the EE certificate to sign the ghostbuster payload, publish the result, then throw away the private key for the EE cert. This is modeled after the way we handle ROAs. If fast is set, we leave generating the new manifest for our caller to handle, presumably at the end of a bulk operation.
Definition at line 1667 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.published_callback | ( | self, | |
pdu | |||
) |
Check publication result.
Definition at line 1701 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.regenerate | ( | self, | |
publisher, | |||
fast = False |
|||
) |
Reissue Ghostbuster associated with this ghostbuster_obj.
Definition at line 1744 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.revoke | ( | self, | |
publisher, | |||
regenerate = False , |
|||
allow_failure = False , |
|||
fast = False |
|||
) |
Withdraw Ghostbuster associated with this ghostbuster_obj. In order to preserve make-before-break properties without duplicating code, this method also handles generating a replacement ghostbuster when requested. If allow_failure is set, failing to withdraw the ghostbuster will not be considered an error. If fast is set, SQL actions will be deferred, on the assumption that our caller will handle regenerating CRL and manifest and flushing the SQL cache.
Definition at line 1709 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.self | ( | self | ) |
Fetch self object to which this ghostbuster_obj links.
Definition at line 1629 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.update | ( | self, | |
publisher, | |||
fast = False |
|||
) |
Bring this ghostbuster_obj up to date if necesssary.
Definition at line 1652 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.uri | ( | self | ) |
Return the publication URI for this ghostbuster_obj's ghostbuster.
Definition at line 1760 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.uri_from_key | ( | self, | |
key | |||
) |
Return publication URI for a public key.
Definition at line 1753 of file rpki/rpkid.py.
def rpki.rpkid.ghostbuster_obj.uri_tail | ( | self | ) |
Return the tail (filename portion) of the publication URI for this ghostbuster_obj's ghostbuster.
Definition at line 1767 of file rpki/rpkid.py.
rpki.rpkid.ghostbuster_obj.ca_detail_id = None [static] |
Definition at line 1622 of file rpki/rpkid.py.
rpki.rpkid.ghostbuster_obj.cert = None [static] |
Definition at line 1623 of file rpki/rpkid.py.
Reimplemented from rpki.sql.sql_persistent.
Definition at line 1642 of file rpki/rpkid.py.
rpki.rpkid.ghostbuster_obj.ghostbuster = None [static] |
Definition at line 1624 of file rpki/rpkid.py.
rpki.rpkid.ghostbuster_obj.published = None [static] |
Definition at line 1625 of file rpki/rpkid.py.
Definition at line 1642 of file rpki/rpkid.py.
tuple rpki.rpkid.ghostbuster_obj.sql_template [static] |
rpki.sql.template( "ghostbuster", "ghostbuster_id", "ca_detail_id", "self_id", "vcard", ("ghostbuster", rpki.x509.Ghostbuster), ("cert", rpki.x509.X509), ("published", rpki.sundial.datetime))
Definition at line 1612 of file rpki/rpkid.py.
rpki.rpkid.ghostbuster_obj.vcard = None [static] |
Definition at line 1626 of file rpki/rpkid.py.