# ITlsHandshakeFeature Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/)

## CipherAlgorithm {#cipheralgorithm-88b96d91}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/cipheralgorithm-88b96d91/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract CipherAlgorithmType CipherAlgorithm
```

## CipherStrength {#cipherstrength-df968550}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/cipherstrength-df968550/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int CipherStrength
```

## HashAlgorithm {#hashalgorithm-a7a5d41f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/hashalgorithm-a7a5d41f/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract HashAlgorithmType HashAlgorithm
```

## HashStrength {#hashstrength-f177bdc3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/hashstrength-f177bdc3/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int HashStrength
```

## HostName {#hostname-211566e8}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/hostname-211566e8/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Core/Networking/Transport/Security/ITlsHandshakeFeature.cs#L25)

```csharp
public virtual string HostName
```

Gets the host name from the TLS server_name (SNI) extension, if present.

## KeyExchangeAlgorithm {#keyexchangealgorithm-7e272ca6}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/keyexchangealgorithm-7e272ca6/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract ExchangeAlgorithmType KeyExchangeAlgorithm
```

## KeyExchangeStrength {#keyexchangestrength-598342c1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/keyexchangestrength-598342c1/)

```csharp
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int KeyExchangeStrength
```

## NegotiatedCipherSuite {#negotiatedciphersuite-89998896}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/negotiatedciphersuite-89998896/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Core/Networking/Transport/Security/ITlsHandshakeFeature.cs#L20)

```csharp
public virtual TlsCipherSuite? NegotiatedCipherSuite
```

Gets the negotiated TLS cipher suite.

## Protocol {#protocol-af4eeb6c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.security.itlshandshakefeature/properties/protocol-af4eeb6c/)

```csharp
public abstract SslProtocols Protocol
```

Gets the negotiated TLS protocol.
