Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckSpn()

bool System.Net.Security.NegotiateStream.CheckSpn ( )
inlineprivate

Definition at line 824 of file NegotiateStream.cs.

825 {
827 {
828 return true;
829 }
830 string clientSpecifiedSpn = _context.ClientSpecifiedSpn;
831 if (string.IsNullOrEmpty(clientSpecifiedSpn))
832 {
833 return _extendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.WhenSupported;
834 }
835 return _extendedProtectionPolicy.CustomServiceNames.Contains(clientSpecifiedSpn);
836 }
ExtendedProtectionPolicy _extendedProtectionPolicy

References System.Net.Security.NegotiateStream._context, System.Net.Security.NegotiateStream._extendedProtectionPolicy, System.Net.NTAuthentication.ClientSpecifiedSpn, System.Security.Authentication.ExtendedProtection.ServiceNameCollection.Contains(), System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy.CustomServiceNames, System.Net.NTAuthentication.IsKerberos, and System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy.PolicyEnforcement.

Referenced by System.Net.Security.NegotiateStream.SendBlobAsync< TAdapter >().