Base classes representing Saml2.0 MetaData elements

Author:Roland Hedberg
Version:1.2

Module

saml2.metadata.do_contact_person_info(lava)

Creates a ContactPerson instance from configuration information

saml2.metadata.do_organization_info(ava)

Description of an organization in the configuration is a dictionary of keys and values, where the values might be tuples:

"organization": {
    "name": ("AB Exempel", "se"),
    "display_name": ("AB Exempel", "se"),
    "url": "http://www.example.org"
}
saml2.metadata.do_pdp_descriptor(conf, cert)

Create a Policy Decision Point descriptor

saml2.metadata.sign_entity_descriptor(edesc, ident, secc)
Parameters:
  • edesc – EntityDescriptor instance
  • ident – EntityDescriptor identifier
  • secc – Security context
Returns:

Tuple with EntityDescriptor instance and Signed XML document

Table Of Contents

This Page