# KeyType

- Kind: `enum`
- Package: [CommunityToolkit.Aspire.Hosting.Sftp](/reference/api/csharp/communitytoolkit.aspire.hosting.sftp.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Sftp/KeyType.cs)

Specifies the types of cryptographic keys supported for digital signatures.

## Definition

```csharp
namespace Aspire.Hosting;

public enum KeyType
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| Ed25519 | 0 | Specifies the Ed25519 public-key signature algorithm. |
| Rsa | 1 | Specifies the RSA public-key signature algorithm. |
