3 instantiations of HGlobalSafeHandle
System.IdentityModel.Selectors (3)
infocard\common\managed\HGlobalSafeHandle.cs (3)
26
return new
HGlobalSafeHandle
();
33
return new
HGlobalSafeHandle
(Marshal.StringToHGlobalUni(managedString), bytes);
40
return new
HGlobalSafeHandle
(Marshal.AllocHGlobal(bytes), bytes);
35 references to HGlobalSafeHandle
System.IdentityModel.Selectors (35)
infocard\client\System\IdentityModel\Selectors\InfoCardKeyedHashAlgorithm.cs (6)
129
HGlobalSafeHandle
pInData = null;
134
pInData =
HGlobalSafeHandle
.Construct(m_cachedBlock.Length);
140
null != pInData ? pInData :
HGlobalSafeHandle
.Construct());
182
HGlobalSafeHandle
pInData = null;
191
pInData =
HGlobalSafeHandle
.Construct(m_cachedBlock.Length);
197
null != pInData ? pInData :
HGlobalSafeHandle
.Construct(),
infocard\client\System\IdentityModel\Selectors\InfoCardRSACryptoProvider.cs (14)
86
using (
HGlobalSafeHandle
pInData =
HGlobalSafeHandle
.Construct(inData.Length))
118
using (
HGlobalSafeHandle
pInData =
HGlobalSafeHandle
.Construct(inData.Length))
149
using (
HGlobalSafeHandle
pHash =
HGlobalSafeHandle
.Construct(hash.Length))
151
using (
HGlobalSafeHandle
pHashAlgOid =
HGlobalSafeHandle
.Construct(hashAlgOid))
188
using (
HGlobalSafeHandle
pHash =
HGlobalSafeHandle
.Construct(hash.Length))
190
using (
HGlobalSafeHandle
pHashAlgOid =
HGlobalSafeHandle
.Construct(hashAlgOid))
196
using (
HGlobalSafeHandle
pSig =
HGlobalSafeHandle
.Construct(sig.Length))
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricAlgorithm.cs (6)
162
using (
HGlobalSafeHandle
pIV =
HGlobalSafeHandle
.Construct(iv.Length))
236
using (
HGlobalSafeHandle
pInData =
HGlobalSafeHandle
.Construct(inputCount))
283
using (
HGlobalSafeHandle
pInData =
HGlobalSafeHandle
.Construct(inputCount))
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (4)
117
using (
HGlobalSafeHandle
pLabel =
HGlobalSafeHandle
.Construct(label.Length))
119
using (
HGlobalSafeHandle
pNonce =
HGlobalSafeHandle
.Construct(nonce.Length))
infocard\client\System\IdentityModel\Selectors\PolicyChain.cs (2)
25
HGlobalSafeHandle
m_nativeChain;
54
m_nativeChain =
HGlobalSafeHandle
.Construct(chainLength * elementSize);
infocard\common\managed\HGlobalSafeHandle.cs (3)
24
public static
HGlobalSafeHandle
Construct()
28
public static
HGlobalSafeHandle
Construct(string managedString)
37
public static
HGlobalSafeHandle
Construct(int bytes)