JsonWebKeyConverter.ConvertFromECDsaSecurityKey(ECDsaSecurityKey) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a ECDsaSecurityKey into a JsonWebKey
public static Microsoft.IdentityModel.Tokens.JsonWebKey ConvertFromECDsaSecurityKey (Microsoft.IdentityModel.Tokens.ECDsaSecurityKey key);
static member ConvertFromECDsaSecurityKey : Microsoft.IdentityModel.Tokens.ECDsaSecurityKey -> Microsoft.IdentityModel.Tokens.JsonWebKey
Public Shared Function ConvertFromECDsaSecurityKey (key As ECDsaSecurityKey) As JsonWebKey
Parameters
- key
- ECDsaSecurityKey
an ECDsaSecurityKey to convert.
Returns
Exceptions
if key
is null.