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 1187 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 1212 of file x509.py.

Referenced by rpki::x509::CMS_object::extract(), and rpki::x509::CMS_object::verify().

Here is the caller graph for this function:

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

Definition at line 1236 of file x509.py.

References rpki::x509::DER_object::get_DER(), rpki::x509::X509::get_DER(), rpki::x509::PKCS10::get_DER(), rpki::x509::RSA::get_DER(), rpki::x509::RSApublic::get_DER(), rpki::x509::CMS_object::get_DER(), and rpki::x509::CRL::get_DER().

Here is the call graph for this function:

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

Definition at line 1206 of file x509.py.

References rpki::publication::cms_msg::encoding, rpki::up_down::cms_msg::encoding, rpki::left_right::cms_msg::encoding, and rpki::x509::CMS_object::get_content().

Referenced by rpki::x509::CMS_object::sign().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1218 of file x509.py.

References rpki::publication::cms_msg::encoding, rpki::up_down::cms_msg::encoding, rpki::left_right::cms_msg::encoding, and rpki::x509::CMS_object::get_content().

Referenced by schema_check().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1224 of file x509.py.

References rpki::x509::CMS_object::get_content(), and pretty_print_content().

Referenced by unwrap(), and wrap().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::x509::XML_CMS_object::unwrap (   self,
  ta 
)
def rpki::x509::XML_CMS_object::wrap (   self,
  msg,
  keypair,
  certs,
  crls = None 
)

Member Data Documentation

Reimplemented from rpki::x509::CMS_object.

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

Referenced by unwrap().

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

If set, value should be a DeadDrop object.

Definition at line 1198 of file x509.py.

Referenced by wrap().

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

Reimplemented from rpki::x509::CMS_object.

Definition at line 1192 of file x509.py.


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