Saml2SecurityTokenHandler.KeyInfoSerializer Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the security token serializer that is used to serialize and deserialize key identifiers.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public SecurityTokenSerializer KeyInfoSerializer { get; set; }

Property Value

Type: System.IdentityModel.Selectors.SecurityTokenSerializer

A SecurityTokenSerializer that represents the serializer.

Exception Condition
ArgumentNullException

An attempt to set the value to null occurs.

Serializes and deserializes SecurityKeyIdentifier objects.

.NET Framework
Available since 4.5
Return to top
Show: