2 instantiations of SafeDeleteContext
System.IdentityModel (2)
System\IdentityModel\SspiSafeHandles.cs (2)
272
refContext = new
SafeDeleteContext
();
554
refContext = new
SafeDeleteContext
();
30 references to SafeDeleteContext
System.IdentityModel (30)
System\IdentityModel\SecurityUtils.cs (1)
908
public void CheckServiceBinding(
SafeDeleteContext
securityContext, string defaultServiceBinding)
System\IdentityModel\SspiSafeHandles.cs (8)
171
ref
SafeDeleteContext
refContext,
346
SafeDeleteContext
outContext,
452
ref
SafeDeleteContext
refContext,
617
SafeDeleteContext
outContext,
716
public static int ImpersonateSecurityContext(
SafeDeleteContext
context)
753
public static int EncryptMessage(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber)
789
public unsafe static int DecryptMessage(
SafeDeleteContext
context, SecurityBufferDescriptor inputOutput, uint sequenceNumber)
1268
public static unsafe int QueryContextAttributes(
SafeDeleteContext
phContext, ContextAttribute contextAttribute, byte* buffer, SafeHandle refHandle)
System\IdentityModel\SspiWrapper.cs (19)
450
ref
SafeDeleteContext
context,
458
return
SafeDeleteContext
.InitializeSecurityContext(credential, ref context, targetName, inFlags, datarep, inputBuffer, null, outputBuffer, ref outFlags);
463
ref
SafeDeleteContext
context,
471
return
SafeDeleteContext
.InitializeSecurityContext(credential, ref context, targetName, inFlags, datarep, null, inputBuffers, outputBuffer, ref outFlags);
476
ref
SafeDeleteContext
refContext,
483
return
SafeDeleteContext
.AcceptSecurityContext(credential, ref refContext, inFlags, datarep, inputBuffer, null, outputBuffer, ref outFlags);
488
ref
SafeDeleteContext
refContext,
495
return
SafeDeleteContext
.AcceptSecurityContext(credential, ref refContext, inFlags, datarep, null, inputBuffers, outputBuffer, ref outFlags);
499
SafeDeleteContext
context,
505
static unsafe int QueryContextAttributes(
SafeDeleteContext
phContext, ContextAttribute attribute, byte[] buffer, Type handleType, out SafeHandle refHandle)
530
SafeDeleteContext
securityContext,
659
public static unsafe int QuerySpecifiedTarget(
SafeDeleteContext
securityContext, out string specifiedTarget)
689
SafeDeleteContext
context)
691
int errorCode =
SafeDeleteContext
.ImpersonateSecurityContext(context);
698
public static unsafe int EncryptDecryptHelper(
SafeDeleteContext
context, SecurityBuffer[] input, uint sequenceNumber, bool encrypt, bool isGssBlob)
728
errorCode =
SafeDeleteContext
.EncryptMessage(context, sdcInOut, sequenceNumber);
732
errorCode =
SafeDeleteContext
.DecryptMessage(context, sdcInOut, sequenceNumber);
805
public static unsafe int EncryptMessage(
SafeDeleteContext
context, SecurityBuffer[] input, uint sequenceNumber)
810
public static unsafe int DecryptMessage(
SafeDeleteContext
context, SecurityBuffer[] input, uint sequenceNumber, bool isGssBlob)
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (1)
158
SafeDeleteContext
securityContext = null;
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (1)
129
SafeDeleteContext
securityContext = null;