rpki.x509.XML_CMS_object Class Reference

Inherits rpki::x509::CMS_object.

Inherited by rpki.left_right.cms_msg, rpki.publication.cms_msg, and rpki.up_down.cms_msg.

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 1025 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 1048 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 1066 of file x509.py.

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

Definition at line 1044 of file x509.py.

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

Definition at line 1052 of file x509.py.

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

Definition at line 1056 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 1092 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 1075 of file x509.py.


Member Data Documentation

Reimplemented from rpki.x509.CMS_object.

Definition at line 1050 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 1042 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 1036 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 1030 of file x509.py.


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

Generated on Tue Jan 12 07:56:03 2010 for RPKI Engine by  doxygen 1.6.1