Claim.CreateThumbprintClaim Method (Byte[])

 

Creates a Claim object that represents the specified thumbprint.

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

public static Claim CreateThumbprintClaim(
	byte[] thumbprint
)

Parameters

thumbprint
Type: System.Byte[]

An array of byte values that specifies the thumbprint of the entity associated with the claim. This parameter must not be null. If this parameter is null, this method throws an ArgumentNullException exception.

Return Value

Type: System.IdentityModel.Claims.Claim

The Claim object this method creates.

Exception Condition
ArgumentNullException

The thumbprint parameter is null.

The Claim object this method creates has the property values shown in the following table.

Property

Value

ClaimType

Thumbprint

Resource

The value of the thumbprint parameter.

Right

PossessProperty.

.NET Framework
Available since 3.0
Return to top
Show: