Skip to main content

JsonWebKeyTypes Class

Abblix.Jwt

Abblix.Jwt

JsonWebKeyTypes Class

Values for the JWK "kty" parameter (RFC 7517 Section 4.1, RFC 7518 Section 6.1) identifying the cryptographic family a key belongs to. Used as the discriminator when deserializing a JsonWebKey into the correct concrete subtype.

public static class JsonWebKeyTypes

Inheritance System.Object → JsonWebKeyTypes

Fields

JsonWebKeyTypes.EllipticCurve Field

Elliptic Curve key (RFC 7518 Section 6.2). Maps to EllipticCurveJsonWebKey; usable with the ES256/ES384/ES512 signing algorithms.

public const string EllipticCurve = "EC";

Field Value

System.String

JsonWebKeyTypes.Octet Field

Symmetric (Octet Sequence) key (RFC 7518 Section 6.4). Maps to OctetJsonWebKey; usable with HS* signing, AES-GCM key wrap, and direct key agreement.

public const string Octet = "oct";

Field Value

System.String

JsonWebKeyTypes.Rsa Field

RSA key (RFC 7518 Section 6.3). Maps to RsaJsonWebKey; usable with the RS*/PS* signing algorithms and RSA-OAEP/RSA1_5 key encryption.

public const string Rsa = "RSA";

Field Value

System.String