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