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