RPKI Engine 1.0
Public Member Functions | Public Attributes | Static Public Attributes

rpki.x509.XML_CMS_object Class Reference

Inheritance diagram for rpki.x509.XML_CMS_object:
Inheritance graph
Collaboration diagram for rpki.x509.XML_CMS_object:
Collaboration graph

List of all members.

Public Member Functions

def decode
def dump_to_disk
def encode
def pretty_print_content
def schema_check
def unwrap
def wrap

Public Attributes

 content

Static Public Attributes

 dump_inbound_cms = None
 If set, we write all inbound XML-CMS PDUs to disk, for debugging.
 dump_outbound_cms = None
 If set, we write all outbound XML-CMS PDUs to disk, for debugging.
tuple econtent_oid = POWify_OID("id-ct-xml")

Detailed Description

Class to hold CMS-wrapped XML protocol data.

Definition at line 1161 of file x509.py.


Member Function Documentation

def rpki.x509.XML_CMS_object.decode (   self,
  xml 
)
Decode XML and set inner content.

Definition at line 1186 of file x509.py.

def rpki.x509.XML_CMS_object.dump_to_disk (   self,
  prefix 
)
Write DER of current message to disk, for debugging.

Definition at line 1210 of file x509.py.

def rpki.x509.XML_CMS_object.encode (   self)
Encode inner content for signing.

Definition at line 1180 of file x509.py.

def rpki.x509.XML_CMS_object.pretty_print_content (   self)
Pretty print XML content of this message.

Definition at line 1192 of file x509.py.

def rpki.x509.XML_CMS_object.schema_check (   self)
Handle XML RelaxNG schema check.

Definition at line 1198 of file x509.py.

def rpki.x509.XML_CMS_object.unwrap (   self,
  ta 
)
Unwrap a CMS-wrapped XML PDU and return Python objects.

Definition at line 1230 of file x509.py.

def rpki.x509.XML_CMS_object.wrap (   self,
  msg,
  keypair,
  certs,
  crls = None 
)
Wrap an XML PDU in CMS and return its DER encoding.

Definition at line 1218 of file x509.py.


Member Data Documentation

Reimplemented from rpki.x509.CMS_object.

Definition at line 1188 of file x509.py.

If set, we write all inbound XML-CMS PDUs to disk, for debugging.

If set, value should be a DeadDrop object.

Definition at line 1178 of file x509.py.

If set, we write all outbound XML-CMS PDUs to disk, for debugging.

If set, value should be a DeadDrop object.

Definition at line 1172 of file x509.py.

tuple rpki.x509.XML_CMS_object.econtent_oid = POWify_OID("id-ct-xml") [static]

Reimplemented from rpki.x509.CMS_object.

Definition at line 1166 of file x509.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables