JsonWebKeyConverter.ConvertFromRSASecurityKey(RsaSecurityKey) 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 RsaSecurityKey into a JsonWebKey
public static Microsoft.IdentityModel.Tokens.JsonWebKey ConvertFromRSASecurityKey (Microsoft.IdentityModel.Tokens.RsaSecurityKey key);
static member ConvertFromRSASecurityKey : Microsoft.IdentityModel.Tokens.RsaSecurityKey -> Microsoft.IdentityModel.Tokens.JsonWebKey
Public Shared Function ConvertFromRSASecurityKey (key As RsaSecurityKey) As JsonWebKey
Parameters
- key
- RsaSecurityKey
a RsaSecurityKey to convert.
Returns
Exceptions
if key
is null.