Share via


JsonWebKey.Create(String) Method

Definition

Returns a new instance of JsonWebKey.

public static Microsoft.IdentityModel.Tokens.JsonWebKey Create (string json);
static member Create : string -> Microsoft.IdentityModel.Tokens.JsonWebKey
Public Shared Function Create (json As String) As JsonWebKey

Parameters

json
String

A string that contains JSON Web Key parameters in JSON format.

Returns

JsonWebKey

Exceptions

If 'json' is null or empty.

If 'json' fails to deserialize.

Applies to