Microsoft.IdentityModel.Tokens.CryptoThrowHelper static class CryptoThrowHelper Documentation Code public static CryptographicException ToCryptographicException(this int hr)