SamlSecurityTokenHandler.KeyInfoSerializer Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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

An attempt to set the value to null occurs.

Serializes and deserializes SecurityKeyIdentifier objects.

.NET Framework
Available since 4.5
Return to top