aspnetcore/src/Servers/Connections.Abstractions/src/Features/ITlsHandshakeFeature.cs

25 lines
635 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Security.Authentication;
namespace Microsoft.AspNetCore.Connections.Features
{
public interface ITlsHandshakeFeature
{
SslProtocols Protocol { get; }
CipherAlgorithmType CipherAlgorithm { get; }
int CipherStrength { get; }
HashAlgorithmType HashAlgorithm { get; }
int HashStrength { get; }
ExchangeAlgorithmType KeyExchangeAlgorithm { get; }
int KeyExchangeStrength { get; }
}
}