#### [Abblix\.Jwt](https://www.abblix.com/en/docs/api/abblix-jwt 'index')
### [Abblix\.Jwt](https://www.abblix.com/en/docs/api/abblix-jwt/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\.

```csharp
public static class PublicKeyUsages
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → PublicKeyUsages
### Fields

## PublicKeyUsages\.Encryption Field {#Abblix.Jwt.PublicKeyUsages.Encryption}

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\.

```csharp
public const string Encryption = "enc";
```

#### Field Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## PublicKeyUsages\.Signature Field {#Abblix.Jwt.PublicKeyUsages.Signature}

Key is intended for digital signature or MAC operations \(JWS\)\.

```csharp
public const string Signature = "sig";
```

#### Field Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
