The Claim class provides several methods for creating instances of built-in claims types. Of these methods, the following perform no semantic or format checking on the supplied resource:
CreateHashClaim (does not check the length or content of the byte array)
CreateThumbprintClaim (does not check the length or content of the byte array)
Care should be taken when calling the above methods to ensure that the resource values passed in are of the correct format or contain the correct kind of information (or both).
The following methods take specific types: