rpki.x509.XML_CMS_object Class Reference

Inheritance diagram for rpki.x509.XML_CMS_object:

Inheritance 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
 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 815 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 838 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 854 of file x509.py.

def rpki.x509.XML_CMS_object.encode (   self  ) 

Encode inner content for signing.

Definition at line 834 of file x509.py.

def rpki.x509.XML_CMS_object.pretty_print_content (   self  ) 

Pretty print XML content of this message.

Definition at line 842 of file x509.py.

def rpki.x509.XML_CMS_object.schema_check (   self  ) 

Handle XML RelaxNG schema check.

Definition at line 846 of file x509.py.

def rpki.x509.XML_CMS_object.unwrap (   cls,
  der,
  ta,
  pretty_print = False 
)

Unwrap a CMS-wrapped XML PDU and return Python objects.

Definition at line 876 of file x509.py.

def rpki.x509.XML_CMS_object.wrap (   cls,
  msg,
  keypair,
  certs,
  crls = None,
  pretty_print = False 
)

Build a CMS-wrapped XML PDU and return its DER encoding.

Definition at line 861 of file x509.py.


Member Data Documentation

Reimplemented from rpki.x509.CMS_object.

Definition at line 840 of file x509.py.

Definition at line 832 of file x509.py.

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

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

Value of this variable is prefix portion of filename, tail will be a timestamp.

Definition at line 825 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 818 of file x509.py.


The documentation for this class was generated from the following file:

Generated on Mon Jun 16 22:22:53 2008 for RPKI Engine by  doxygen 1.5.5