Package ndg :: Package saml :: Package xml :: Module etree :: Class IssuerElementTree
[hide private]

Class IssuerElementTree

source code


Represent a SAML Issuer element in XML using ElementTree

Instance Methods [hide private]

Inherited from saml2.core.AbstractNameIDType: __getstate__, __init__, getOrderedChildren

Inherited from common.SAMLObject: __setstate__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
ElementTree.Element
toXML(cls, issuer)
Create an XML representation of the input SAML issuer object
source code
saml.saml2.core.Issuer
fromXML(cls, elem)
Parse ElementTree element into a SAML Issuer instance
source code
Class Variables [hide private]

Inherited from saml2.core.Issuer: DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME

Inherited from saml2.core.AbstractNameIDType: EMAIL, ENCRYPTED, ENTITY, FORMAT_ATTRIB_NAME, KERBEROS, PERSISTENT, SPPROVIDED_ID_ATTRIB_NAME, SP_NAME_QUALIFIER_ATTRIB_NAME, TRANSIENT, UNSPECIFIED, WIN_DOMAIN_QUALIFIED, X509_SUBJECT

Properties [hide private]

Inherited from saml2.core.AbstractNameIDType: format, nameQualifier, spNameQualifier, spProvidedID, value

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

toXML(cls, issuer)
Class Method

source code 

Create an XML representation of the input SAML issuer object

Parameters:
  • issuer (saml.saml2.core.Issuer) - Assertion object
Returns: ElementTree.Element
ElementTree element containing the assertion
Overrides: common.SAMLObject.toXML

fromXML(cls, elem)
Class Method

source code 

Parse ElementTree element into a SAML Issuer instance

Parameters:
  • elem (ElementTree.Element) - ElementTree element containing the assertion
Returns: saml.saml2.core.Issuer
Assertion object
Overrides: common.SAMLObject.fromXML