21 references to ProcessingOptions
System.Net.Security (21)
System\Net\Security\SslStream.IO.cs (4)
435
TlsFrameHelper.
ProcessingOptions
options = NetEventSource.Log.IsEnabled() ?
436
TlsFrameHelper.
ProcessingOptions
.All :
437
TlsFrameHelper.
ProcessingOptions
.ServerName;
442
options |= TlsFrameHelper.
ProcessingOptions
.RawApplicationProtocol;
System\Net\Security\TlsFrameHelper.cs (17)
227
public static bool TryGetFrameInfo(ReadOnlySpan<byte> frame, ref TlsFrameInfo info,
ProcessingOptions
options =
ProcessingOptions
.All, HelloExtensionCallback? callback = null)
295
if (!TryGetFrameInfo(frame, ref info,
ProcessingOptions
.ServerName))
365
private static bool TryParseHelloFrame(ReadOnlySpan<byte> sslHandshake, ref TlsFrameInfo info,
ProcessingOptions
options, HelloExtensionCallback? callback)
408
private static bool TryParseClientHello(ReadOnlySpan<byte> clientHello, ref TlsFrameInfo info,
ProcessingOptions
options, HelloExtensionCallback? callback)
449
private static bool TryParseServerHello(ReadOnlySpan<byte> serverHello, ref TlsFrameInfo info,
ProcessingOptions
options, HelloExtensionCallback? callback)
488
private static bool TryParseHelloExtensions(ReadOnlySpan<byte> extensions, ref TlsFrameInfo info,
ProcessingOptions
options, HelloExtensionCallback? callback)
508
if (extensionType == ExtensionType.ServerName && (options ==
ProcessingOptions
.All ||
509
(options &
ProcessingOptions
.ServerName) ==
ProcessingOptions
.ServerName))
518
else if (extensionType == ExtensionType.SupportedVersions && (options ==
ProcessingOptions
.All ||
519
(options &
ProcessingOptions
.Versions) ==
ProcessingOptions
.Versions))
528
else if (extensionType == ExtensionType.ApplicationProtocols && (options ==
ProcessingOptions
.All ||
529
(options.HasFlag(
ProcessingOptions
.ApplicationProtocol) || options.HasFlag(
ProcessingOptions
.RawApplicationProtocol))))
539
if (options.HasFlag(
ProcessingOptions
.RawApplicationProtocol))