mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-22 15:21:41 +00:00
3fa7ef21b4
* implement certain servicessl functions * ssl: Implement more of SSL connection and abstract it This adds support to non blocking SSL operations and unlink the SSL implementation from the IPC logic. * Rename SslDefaultSocketConnection to SslManagedSocketConnection * Fix regression on Pokemon TV * Address gdkchan's comment * Simplify value read from previous commit * ssl: some changes - Implement builtin certificates parsing and retrieving - Fix issues with SSL version handling - Improve managed SSL socket error handling - Ensure to only return a certificate on DoHandshake when actually requested * Add missing BuiltInCertificateManager initialization call * Address gdkchan's comment * Address Ack's comment Co-authored-by: InvoxiPlayGames <webmaster@invoxiplaygames.uk>
16 lines
No EOL
285 B
C#
16 lines
No EOL
285 B
C#
using System;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Ssl.Types
|
|
{
|
|
[Flags]
|
|
enum SslVersion : uint
|
|
{
|
|
Auto = 1 << 0,
|
|
TlsV10 = 1 << 3,
|
|
TlsV11 = 1 << 4,
|
|
TlsV12 = 1 << 5,
|
|
TlsV13 = 1 << 6, // 11.0.0+
|
|
|
|
VersionMask = 0xFFFFFF
|
|
}
|
|
} |