Show / Hide Table of Contents

Class RoleDescriptorType

Represents the role descriptor type.

Inheritance
System.Object
RoleDescriptorType
AttributeAuthorityDescriptor
AuthnAuthorityDescriptor
PDPDescriptor
RoleDescriptor
SSODescriptorType
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Metadata
Assembly: ComponentSpace.Saml2.dll
Syntax
public abstract class RoleDescriptorType
Remarks

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

Constructors

RoleDescriptorType()

Initializes a new instance of the RoleDescriptorType class.

Declaration
public RoleDescriptorType()

RoleDescriptorType(XmlElement)

Initializes a new instance of the RoleDescriptorType class from XML.

Declaration
public RoleDescriptorType(XmlElement xmlElement)
Parameters
Type Name Description
System.Xml.XmlElement xmlElement

The role descriptor XML.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML deserialization fails.

Properties

CacheDuration

Gets or sets the cache duration.

Declaration
public Duration CacheDuration { get; set; }
Property Value
Type Description
Duration

The cache duration.

ContactPeople

Gets or sets the list of contact people.

Declaration
public IList<ContactPerson> ContactPeople { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<ContactPerson>

The list of contact people.

ErrorURL

Gets or sets the error URL.

Declaration
public string ErrorURL { get; set; }
Property Value
Type Description
System.String

The error URL.

Extensions

Gets or sets the extensions.

Declaration
public Extensions Extensions { get; set; }
Property Value
Type Description
Extensions

The extensions.

ID

Gets or sets the ID.

Declaration
public string ID { get; set; }
Property Value
Type Description
System.String

The ID.

KeyDescriptors

Gets or sets the list of key descriptors.

Declaration
public IList<KeyDescriptor> KeyDescriptors { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<KeyDescriptor>

The list of key descriptors.

Organization

Gets or sets the organization.

Declaration
public Organization Organization { get; set; }
Property Value
Type Description
Organization

The organization.

ProtocolSupportEnumeration

Gets or sets the protocol support enumeration.

Declaration
public string ProtocolSupportEnumeration { get; set; }
Property Value
Type Description
System.String

The protocol support enumeration.

Signature

Gets or sets the digital signature.

Declaration
public XmlElement Signature { get; set; }
Property Value
Type Description
System.Xml.XmlElement

The digital signature.

Remarks

To generate or verify signatures, use SAMLMetadataSignature.

See Also
SAMLMetadataSignature

ValidUntil

Gets or sets the valid until date/time.

Declaration
public DateTime ValidUntil { get; set; }
Property Value
Type Description
System.DateTime

The valid until date/time.

Methods

ToXml(XmlElement)

Serializes the role descriptor to XML.

Declaration
public virtual void ToXml(XmlElement xmlElement)
Parameters
Type Name Description
System.Xml.XmlElement xmlElement

The owning XML element.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML serialization fails.

In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.