56 references to ContextAttribute
System (56)
net\System\Net\_NativeSSPI.cs (9)
38int QueryContextChannelBinding(SafeDeleteContext phContext, ContextAttribute attribute, out SafeFreeContextBufferChannelBinding refHandle); 39int QueryContextAttributes(SafeDeleteContext phContext, ContextAttribute attribute, byte[] buffer, Type handleType, out SafeHandle refHandle); 40int SetContextAttributes(SafeDeleteContext phContext, ContextAttribute attribute, byte[] buffer); 161public unsafe int QueryContextChannelBinding(SafeDeleteContext phContext, ContextAttribute attribute, out SafeFreeContextBufferChannelBinding refHandle) 170public unsafe int QueryContextAttributes(SafeDeleteContext phContext, ContextAttribute attribute, byte[] buffer, Type handleType, out SafeHandle refHandle) { 189public int SetContextAttributes(SafeDeleteContext phContext, ContextAttribute attribute, byte[] buffer) { 386public int QueryContextChannelBinding(SafeDeleteContext context, ContextAttribute attribute, out SafeFreeContextBufferChannelBinding binding) 393public unsafe int QueryContextAttributes(SafeDeleteContext context, ContextAttribute attribute, byte[] buffer, Type handleType, out SafeHandle refHandle) { 413public int SetContextAttributes(SafeDeleteContext context, ContextAttribute attribute, byte[] buffer) {
net\System\Net\_NTAuthentication.cs (5)
186string name = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPIAuth, m_SecurityContext, ContextAttribute.Names) as string; 243ContextAttribute.ClientSpecifiedSpn, out errorCode); 297negotiationInfo = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPIAuth, m_SecurityContext, ContextAttribute.NegotiationInfo) as NegotiationInfoClass; 319ContextAttribute.Sizes 1077ContextAttribute.ClientSpecifiedSpn) as string;
net\System\Net\_SafeNetHandles.cs (8)
515public unsafe static int QueryContextAttributes(SecurDll dll, SafeDeleteContext phContext, ContextAttribute contextAttribute, byte* buffer, SafeHandle refHandle) 529ContextAttribute contextAttribute, 577ContextAttribute contextAttribute, byte[] buffer) 591ContextAttribute contextAttribute, 2872public unsafe static int QueryContextChannelBinding(SecurDll dll, SafeDeleteContext phContext, ContextAttribute contextAttribute, Bindings* buffer, SafeFreeContextBufferChannelBinding refHandle) 2884private unsafe static int QueryContextChannelBinding_SECURITY(SafeDeleteContext phContext, ContextAttribute contextAttribute, Bindings* buffer, SafeFreeContextBufferChannelBinding refHandle) 2891if (contextAttribute != ContextAttribute.EndpointBindings && contextAttribute != ContextAttribute.UniqueBindings)
net\System\Net\_SecureChannel.cs (6)
197remoteContext = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPISecureChannel, m_SecurityContext, ContextAttribute.RemoteCertificate) as SafeFreeCertContext; 222result = SSPIWrapper.QueryContextChannelBinding(GlobalSSPI.SSPISecureChannel, m_SecurityContext, (ContextAttribute)kind); 461IssuerListInfoEx issuerList = (IssuerListInfoEx)SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPISecureChannel, m_SecurityContext, ContextAttribute.IssuerListInfoEx); 1013ContextAttribute.UiInfo, 1079StreamSizes streamSizes = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPISecureChannel, m_SecurityContext, ContextAttribute.StreamSizes) as StreamSizes; 1095m_ConnectionInfo = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPISecureChannel, m_SecurityContext, ContextAttribute.ConnectionInfo) as SslConnectionInfo;
net\System\Net\_SSPIWrapper.cs (26)
498public static SafeFreeContextBufferChannelBinding QueryContextChannelBinding(SSPIInterface SecModule, SafeDeleteContext securityContext, ContextAttribute contextAttribute) 514public static object QueryContextAttributes(SSPIInterface SecModule, SafeDeleteContext securityContext, ContextAttribute contextAttribute) { 519public static object QueryContextAttributes(SSPIInterface SecModule, SafeDeleteContext securityContext, ContextAttribute contextAttribute, out int errorCode) { 526case ContextAttribute.Sizes: 529case ContextAttribute.StreamSizes: 533case ContextAttribute.Names: 537case ContextAttribute.PackageInfo: 541case ContextAttribute.NegotiationInfo: 546case ContextAttribute.ClientSpecifiedSpn: 550case ContextAttribute.RemoteCertificate: 554case ContextAttribute.LocalCertificate: 558case ContextAttribute.IssuerListInfoEx: 563case ContextAttribute.ConnectionInfo: 583case ContextAttribute.Sizes: 587case ContextAttribute.StreamSizes: 591case ContextAttribute.Names: 595case ContextAttribute.PackageInfo: 599case ContextAttribute.NegotiationInfo: 607case ContextAttribute.ClientSpecifiedSpn: 611case ContextAttribute.LocalCertificate: 612goto case ContextAttribute.RemoteCertificate; 613case ContextAttribute.RemoteCertificate: 618case ContextAttribute.IssuerListInfoEx: 623case ContextAttribute.ConnectionInfo: 640public static int SetContextAttributes(SSPIInterface SecModule, SafeDeleteContext securityContext, ContextAttribute contextAttribute, object value) { 646case ContextAttribute.UiInfo:
net\System\Net\UnsafeNativeMethods.cs (2)
516[In] ContextAttribute attribute, 523[In] ContextAttribute attribute,