Table of Contents

Class EncryptionMethodType

Namespace
ComponentSpace.Saml2.Metadata
Assembly
ComponentSpace.Saml2.dll

Represents an encryption method type.

public class EncryptionMethodType
Inheritance
EncryptionMethodType
Derived
Inherited Members

Remarks

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

Constructors

EncryptionMethodType()

Initializes a new instance of the EncryptionMethodType class.

public EncryptionMethodType()

EncryptionMethodType(XmlElement)

Initializes a new instance of the EncryptionMethodType class from XML.

public EncryptionMethodType(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The encryption method type XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

Algorithm

Gets or sets the algorithm.

public string Algorithm { get; set; }

Property Value

string

The algorithm.

Methods

ToXml(XmlElement)

Serializes the encryption method type to XML.

public XmlElement ToXml(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The owning XML element.

Returns

XmlElement

The encryption method type as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.