1 type derived from SafeDeleteContext
System (1)
net\System\Net\_SafeNetHandles.cs (1)
2321
internal sealed class SafeDeleteContext_SECURITY:
SafeDeleteContext
{
85 references to SafeDeleteContext
System (85)
net\System\Net\_NativeSSPI.cs (53)
29
int AcceptSecurityContext(ref SafeFreeCredentials credential, ref
SafeDeleteContext
context, SecurityBuffer inputBuffer, ContextFlags inFlags, Endianness endianness, SecurityBuffer outputBuffer, ref ContextFlags outFlags);
30
int AcceptSecurityContext(SafeFreeCredentials credential, ref
SafeDeleteContext
context, SecurityBuffer[] inputBuffers, ContextFlags inFlags, Endianness endianness, SecurityBuffer outputBuffer, ref ContextFlags outFlags);
31
int InitializeSecurityContext(ref SafeFreeCredentials credential, ref
SafeDeleteContext
context, string targetName, ContextFlags inFlags, Endianness endianness, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, ref ContextFlags outFlags);
32
int InitializeSecurityContext(SafeFreeCredentials credential, ref
SafeDeleteContext
context, string targetName, ContextFlags inFlags, Endianness endianness, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer, ref ContextFlags outFlags);
33
int EncryptMessage(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber);
34
int DecryptMessage(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber);
35
int MakeSignature(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber);
36
int VerifySignature(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber);
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);
41
int QuerySecurityContextToken(
SafeDeleteContext
phContext, out SafeCloseHandle phToken);
42
int CompleteAuthToken(ref
SafeDeleteContext
refContext, SecurityBuffer[] inputBuffers);
43
int ApplyControlToken(ref
SafeDeleteContext
refContext, SecurityBuffer[] inputBuffers);
81
public int AcceptSecurityContext(ref SafeFreeCredentials credential, ref
SafeDeleteContext
context, SecurityBuffer inputBuffer, ContextFlags inFlags, Endianness endianness, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
82
return
SafeDeleteContext
.AcceptSecurityContext(Library, ref credential, ref context, inFlags, endianness, inputBuffer, null, outputBuffer, ref outFlags);
85
public int AcceptSecurityContext(SafeFreeCredentials credential, ref
SafeDeleteContext
context, SecurityBuffer[] inputBuffers, ContextFlags inFlags, Endianness endianness, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
86
return
SafeDeleteContext
.AcceptSecurityContext(Library, ref credential, ref context, inFlags, endianness, null, inputBuffers, outputBuffer, ref outFlags);
89
public int InitializeSecurityContext(ref SafeFreeCredentials credential, ref
SafeDeleteContext
context, string targetName, ContextFlags inFlags, Endianness endianness, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
90
return
SafeDeleteContext
.InitializeSecurityContext(Library, ref credential, ref context, targetName, inFlags, endianness, inputBuffer, null, outputBuffer, ref outFlags);
93
public int InitializeSecurityContext(SafeFreeCredentials credential, ref
SafeDeleteContext
context, string targetName, ContextFlags inFlags, Endianness endianness, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
94
return
SafeDeleteContext
.InitializeSecurityContext(Library, ref credential, ref context, targetName, inFlags, endianness, null, inputBuffers, outputBuffer, ref outFlags);
97
public int EncryptMessage(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber)
126
public unsafe int DecryptMessage(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber) {
153
public int MakeSignature(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber) {
157
public int VerifySignature(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber) {
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) {
193
public int QuerySecurityContextToken(
SafeDeleteContext
phContext, out SafeCloseHandle phToken) {
197
public int CompleteAuthToken(ref
SafeDeleteContext
refContext, SecurityBuffer[] inputBuffers) {
201
public int ApplyControlToken(ref
SafeDeleteContext
refContext, SecurityBuffer[] inputBuffers)
203
return
SafeDeleteContext
.ApplyControlToken(Library, ref refContext, inputBuffers);
243
public int AcceptSecurityContext(ref SafeFreeCredentials credential, ref
SafeDeleteContext
context, SecurityBuffer inputBuffer, ContextFlags inFlags, Endianness endianness, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
244
return
SafeDeleteContext
.AcceptSecurityContext(Library, ref credential, ref context, inFlags, endianness, inputBuffer, null, outputBuffer, ref outFlags);
247
public int AcceptSecurityContext(SafeFreeCredentials credential, ref
SafeDeleteContext
context, SecurityBuffer[] inputBuffers, ContextFlags inFlags, Endianness endianness, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
248
return
SafeDeleteContext
.AcceptSecurityContext(Library, ref credential, ref context, inFlags, endianness, null, inputBuffers, outputBuffer, ref outFlags);
251
public int InitializeSecurityContext(ref SafeFreeCredentials credential, ref
SafeDeleteContext
context, string targetName, ContextFlags inFlags, Endianness endianness, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
252
return
SafeDeleteContext
.InitializeSecurityContext(Library, ref credential, ref context, targetName, inFlags, endianness, inputBuffer, null, outputBuffer, ref outFlags);
255
public int InitializeSecurityContext(SafeFreeCredentials credential, ref
SafeDeleteContext
context, string targetName, ContextFlags inFlags, Endianness endianness, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
256
return
SafeDeleteContext
.InitializeSecurityContext(Library, ref credential, ref context, targetName, inFlags, endianness, null, inputBuffers, outputBuffer, ref outFlags);
260
public int EncryptMessage(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber) {
288
public unsafe int DecryptMessage(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber) {
326
public int MakeSignature(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber) {
355
public unsafe int VerifySignature(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber) {
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) {
417
public int QuerySecurityContextToken(
SafeDeleteContext
phContext, out SafeCloseHandle phToken) {
421
public int CompleteAuthToken(ref
SafeDeleteContext
refContext, SecurityBuffer[] inputBuffers) {
422
return
SafeDeleteContext
.CompleteAuthToken(Library, ref refContext, inputBuffers);
425
public int ApplyControlToken(ref
SafeDeleteContext
refContext, SecurityBuffer[] inputBuffers)
430
private static int GetSecurityContextToken(
SafeDeleteContext
phContext, out SafeCloseHandle safeHandle) {
net\System\Net\_NTAuthentication.cs (1)
140
private
SafeDeleteContext
m_SecurityContext;
net\System\Net\_SafeNetHandles.cs (12)
515
public unsafe static int QueryContextAttributes(SecurDll dll,
SafeDeleteContext
phContext, ContextAttribute contextAttribute, byte* buffer, SafeHandle refHandle)
528
SafeDeleteContext
phContext,
576
public static int SetContextAttributes(SecurDll dll,
SafeDeleteContext
phContext,
590
SafeDeleteContext
phContext,
1438
ref
SafeDeleteContext
refContext,
1653
SafeDeleteContext
outContext,
1766
ref
SafeDeleteContext
refContext,
1971
SafeDeleteContext
outContext,
2081
ref
SafeDeleteContext
refContext,
2192
ref
SafeDeleteContext
refContext,
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)
net\System\Net\_SecureChannel.cs (1)
57
private
SafeDeleteContext
m_SecurityContext;
net\System\Net\_SSPIWrapper.cs (18)
228
internal static int InitializeSecurityContext(SSPIInterface SecModule, ref SafeFreeCredentials credential, ref
SafeDeleteContext
context, string targetName, ContextFlags inFlags, Endianness datarep, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
243
internal static int InitializeSecurityContext(SSPIInterface SecModule, SafeFreeCredentials credential, ref
SafeDeleteContext
context, string targetName, ContextFlags inFlags, Endianness datarep, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer, ref ContextFlags outFlags) {
258
internal static int AcceptSecurityContext(SSPIInterface SecModule, ref SafeFreeCredentials credential, ref
SafeDeleteContext
context, ContextFlags inFlags, Endianness datarep, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, ref ContextFlags outFlags)
274
internal static int AcceptSecurityContext(SSPIInterface SecModule, SafeFreeCredentials credential, ref
SafeDeleteContext
context, ContextFlags inFlags, Endianness datarep, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer, ref ContextFlags outFlags)
289
internal static int CompleteAuthToken(SSPIInterface SecModule, ref
SafeDeleteContext
context, SecurityBuffer[] inputBuffers) {
297
internal static int ApplyControlToken(SSPIInterface SecModule, ref
SafeDeleteContext
context, SecurityBuffer[] inputBuffers)
306
public static int QuerySecurityContextToken(SSPIInterface SecModule,
SafeDeleteContext
context, out SafeCloseHandle token) {
310
public static int EncryptMessage(SSPIInterface secModule,
SafeDeleteContext
context, SecurityBuffer[] input, uint sequenceNumber) {
314
public static int DecryptMessage(SSPIInterface secModule,
SafeDeleteContext
context, SecurityBuffer[] input, uint sequenceNumber) {
321
SafeDeleteContext
securityContext,
353
SafeDeleteContext
securityContext)
364
internal static int MakeSignature(SSPIInterface secModule,
SafeDeleteContext
context, SecurityBuffer[] input, uint sequenceNumber) {
368
public static int VerifySignature(SSPIInterface secModule,
SafeDeleteContext
context, SecurityBuffer[] input, uint sequenceNumber) {
379
private unsafe static int EncryptDecryptHelper(OP op, SSPIInterface SecModule,
SafeDeleteContext
context, SecurityBuffer[] input, uint sequenceNumber)
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) {
640
public static int SetContextAttributes(SSPIInterface SecModule,
SafeDeleteContext
securityContext, ContextAttribute contextAttribute, object value) {