Public Member Functions | |
def | __init__ |
def | check_response |
def | endElement |
def | toXML |
Public Attributes | |
description | |
status | |
Static Public Attributes | |
dictionary | codes |
dictionary | exceptions |
Up-Down protocol "error_response" PDU.
Definition at line 497 of file up_down.py.
def rpki.up_down.error_response_pdu.__init__ | ( | self, | ||
exception = None | ||||
) |
Initialize an error_response PDU from an exception object.
Definition at line 516 of file up_down.py.
def rpki.up_down.error_response_pdu.check_response | ( | self | ) |
Handle an error response. For now, just raise an exception, perhaps figure out something more clever to do later.
Reimplemented from rpki.up_down.base_elt.
Definition at line 556 of file up_down.py.
def rpki.up_down.error_response_pdu.endElement | ( | self, | ||
stack, | ||||
name, | ||||
text | ||||
) |
Handle "error_response" PDU.
Reimplemented from rpki.up_down.base_elt.
Definition at line 525 of file up_down.py.
def rpki.up_down.error_response_pdu.toXML | ( | self | ) |
dictionary rpki.up_down.error_response_pdu.codes [static] |
Initial value:
{ 1101 : "Already processing request", 1102 : "Version number error", 1103 : "Unrecognised request type", 1201 : "Request - no such resource class", 1202 : "Request - no resources allocated in resource class", 1203 : "Request - badly formed certificate request", 1301 : "Revoke - no such resource class", 1302 : "Revoke - no such key", 2001 : "Internal Server Error - Request not performed" }
Definition at line 502 of file up_down.py.
Definition at line 523 of file up_down.py.
dictionary rpki.up_down.error_response_pdu.exceptions [static] |
Definition at line 522 of file up_down.py.