Table of Contents

Class Issuer

Namespace
ComponentSpace.Saml2.Assertions
Assembly
ComponentSpace.Saml2.dll

Represents an issuer.

public class Issuer : NameIDType
Inheritance
Issuer
Inherited Members

Remarks

Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

Issuer()

Initializes a new instance of the Issuer class.

public Issuer()

Issuer(XmlElement)

Initializes a new instance of the Issuer class from XML.

public Issuer(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The issuer XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Methods

GetAnyIssuer(XmlElement)

Gets the issuer.

The issuer is a descendant element.

public static Issuer GetAnyIssuer(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML element containing the issuer as a descendant element.

Returns

Issuer

The issuer or null if none.

GetAnyIssuerName(XmlElement)

Gets the issuer name.

The issuer is a descendant element.

public static string GetAnyIssuerName(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML element containing the issuer as a descendant element.

Returns

string

The issuer name or null if none.

GetIssuer(XmlElement)

Gets the issuer.

The issuer is a child element.

public static Issuer GetIssuer(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML element containing the issuer as a child element.

Returns

Issuer

The issuer or null if none.

GetIssuerName(XmlElement)

Gets the issuer name.

The issuer is a child element.

public static string GetIssuerName(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML element containing the issuer as a child element.

Returns

string

The issuer name or null if none.

IsValid(XmlElement)

Indicates whether the XML is an issuer.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an issuer; otherwise false.

ToXml(XmlDocument)

Serializes the issuer to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The issuer as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.