Share via


JsonWebKeyConverter Class

Definition

Converts a SecurityKey into a JsonWebKey Supports: converting to a JsonWebKey from one of: RsaSecurityKey, X509SecurityKey, and SymmetricSecurityKey.

public class JsonWebKeyConverter
type JsonWebKeyConverter = class
Public Class JsonWebKeyConverter
Inheritance
JsonWebKeyConverter

Constructors

JsonWebKeyConverter()

Methods

ConvertFromECDsaSecurityKey(ECDsaSecurityKey)

Converts a ECDsaSecurityKey into a JsonWebKey

ConvertFromRSASecurityKey(RsaSecurityKey)

Converts a RsaSecurityKey into a JsonWebKey

ConvertFromSecurityKey(SecurityKey)

Converts a SecurityKey into a JsonWebKey

ConvertFromSymmetricSecurityKey(SymmetricSecurityKey)

Converts a SymmetricSecurityKey into a JsonWebKey

ConvertFromX509SecurityKey(X509SecurityKey, Boolean)

Converts a X509SecurityKey into a JsonWebKey.

ConvertFromX509SecurityKey(X509SecurityKey)

Converts a X509SecurityKey into a JsonWebKey

Applies to