Public Member Functions | Public Attributes | Static Public Attributes

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.

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 1098 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 1121 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 1141 of file x509.py.

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

Definition at line 1117 of file x509.py.

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

Definition at line 1125 of file x509.py.

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

Definition at line 1129 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 1161 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 1149 of file x509.py.


Member Data Documentation

Reimplemented from rpki.x509.CMS_object.

Definition at line 1123 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 1115 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 1109 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 1103 of file x509.py.


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