PublicKeyUsages Class
Abblix.Jwt
Abblix.Jwt
PublicKeyUsages Class
Values for the JWK "use" parameter (RFC 7517 Section 4.2), declaring whether a key is intended for signing or encryption. Lets clients pick the right key from a JWK Set when a JWKS contains keys for both purposes.
public static class PublicKeyUsages
Inheritance System.Object → PublicKeyUsages
Fields
PublicKeyUsages.Encryption Field
Key is intended for encryption operations (JWE), either as a key-encryption key or, for symmetric keys, as the content-encryption key in direct mode.
public const string Encryption = "enc";
Field Value
PublicKeyUsages.Signature Field
Key is intended for digital signature or MAC operations (JWS).
public const string Signature = "sig";