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

◆ QueryContextAttributes_SECPKG_ATTR_ISSUER_LIST_EX()

static bool System.Net.SSPIWrapper.QueryContextAttributes_SECPKG_ATTR_ISSUER_LIST_EX ( ISSPIInterface secModule,
SafeDeleteContext securityContext,
ref global::Interop::SspiCli::SecPkgContext_IssuerListInfoEx ctx,
out SafeHandle sspiHandle )
inlinestatic

Definition at line 406 of file SSPIWrapper.cs.

407 {
408 Span<global::Interop.SspiCli.SecPkgContext_IssuerListInfoEx> span = MemoryMarshal.CreateSpan(ref ctx, 1);
409 int num = secModule.QueryContextAttributes(securityContext, global::Interop.SspiCli.ContextAttribute.SECPKG_ATTR_ISSUER_LIST_EX, MemoryMarshal.AsBytes(span), typeof(SafeFreeContextBuffer), out sspiHandle);
410 if (num != 0)
411 {
412 if (System.Net.NetEventSource.Log.IsEnabled())
413 {
414 System.Net.NetEventSource.Error(null, $"ERROR = {ErrorDescription(num)}", "QueryContextAttributes_SECPKG_ATTR_ISSUER_LIST_EX");
415 }
416 return false;
417 }
418 return true;
419 }
static readonly System.Net.NetEventSource Log
static void Error(object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)

References System.Net.NetEventSource.Error(), System.Net.NetEventSource.Log, and System.Net.ISSPIInterface.QueryContextAttributes().

Referenced by System.Net.CertificateValidationPal.GetRequestCertificateAuthorities().