#### [Abblix\.Jwt](https://www.abblix.com/en/docs/api/abblix-jwt 'index')
### [Abblix\.Jwt\.ExternalKeys](https://www.abblix.com/en/docs/api/abblix-jwt/Abblix.Jwt.ExternalKeys 'Abblix\.Jwt\.ExternalKeys')

## LocalKeys Class

What an in\-process key ring mints, and how often\.

```csharp
public sealed record LocalKeys : System.IEquatable<Abblix.Jwt.ExternalKeys.LocalKeys>
```

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

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[LocalKeys](https://www.abblix.com/en/docs/api/abblix-jwt/Abblix.Jwt.ExternalKeys.LocalKeys 'Abblix\.Jwt\.ExternalKeys\.LocalKeys')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')

### Remarks
The counterpart of [MintedKeys](https://www.abblix.com/en/docs/api/abblix-jwt/Abblix.Jwt.ExternalKeys.MintedKeys 'Abblix\.Jwt\.ExternalKeys\.MintedKeys') for a ring with no custodian behind it\. It names no
key\-encryption key because there is nothing to seal to and nothing to seal for: the keys never leave the
process that made them\.
### Properties

## LocalKeys\.EncryptionAlgorithm Property {#Abblix.Jwt.ExternalKeys.LocalKeys.EncryptionAlgorithm}

The JWE key\-management algorithm the minted encryption key uses, or null to mint no encryption key\.

```csharp
public string? EncryptionAlgorithm { get; init; }
```

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

## LocalKeys\.KeepRetiredFor Property {#Abblix.Jwt.ExternalKeys.LocalKeys.KeepRetiredFor}

How long a key that has stopped producing is still offered, so what it produced stays verifiable\.

```csharp
public System.TimeSpan KeepRetiredFor { get; init; }
```

#### Property Value
[System\.TimeSpan](https://learn.microsoft.com/en-us/dotnet/api/system.timespan 'System\.TimeSpan')

### Remarks
Must outlast the longest thing the key signed or encrypted\. Retire a key sooner than the tokens it
signed, and those tokens fail verification while their holders still believe them valid\.

## LocalKeys\.RotateEvery Property {#Abblix.Jwt.ExternalKeys.LocalKeys.RotateEvery}

How often a fresh key is minted and the previous one steps back from producing\.

```csharp
public System.TimeSpan RotateEvery { get; init; }
```

#### Property Value
[System\.TimeSpan](https://learn.microsoft.com/en-us/dotnet/api/system.timespan 'System\.TimeSpan')

## LocalKeys\.RsaKeySize Property {#Abblix.Jwt.ExternalKeys.LocalKeys.RsaKeySize}

The modulus size of a minted RSA key\.

```csharp
public int RsaKeySize { get; init; }
```

#### Property Value
[System\.Int32](https://learn.microsoft.com/en-us/dotnet/api/system.int32 'System\.Int32')

## LocalKeys\.SigningAlgorithm Property {#Abblix.Jwt.ExternalKeys.LocalKeys.SigningAlgorithm}

The JWS algorithm the minted signing keys use, which also decides what is generated\.

```csharp
public string SigningAlgorithm { get; init; }
```

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