Table of Contents

Class NewID

Namespace
ComponentSpace.Saml2.Protocols
Assembly
ComponentSpace.Saml2.dll

Represents new ID.

public class NewID
Inheritance
NewID
Inherited Members

Remarks

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

Constructors

NewID()

Initializes a new instance of the NewID class.

public NewID()

NewID(string)

Initializes a new instance of the NewID class.

public NewID(string id)

Parameters

id string

The ID.

NewID(XmlElement)

Initializes a new instance of the NewID class from XML.

public NewID(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The new ID XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

ID

Gets or sets the ID.

public string ID { get; set; }

Property Value

string

The ID.

Methods

IsValid(XmlElement)

Indicates whether the XML is an artifact.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is a new ID; otherwise false.

ToXml(XmlDocument)

Serializes the new ID to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The new ID as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.