1 write to m_cspHandle
System.Core (1)
System\Security\Cryptography\AesCryptoServiceProvider.cs (1)
47m_cspHandle = CapiNative.AcquireCsp(null,
18 references to m_cspHandle
System.Core (18)
System\Security\Cryptography\AesCryptoServiceProvider.cs (18)
38Contract.Ensures(m_cspHandle != null && !m_cspHandle.IsInvalid && !m_cspHandle.IsClosed); 59KeySizes[] keySizes = FindSupportedKeySizes(m_cspHandle, out defaultKeySize); 108SafeCapiKeyHandle importedKey = CapiNative.ImportSymmetricKey(m_cspHandle, 177using (SafeCapiKeyHandle importedKey = CapiNative.ImportSymmetricKey(m_cspHandle, GetAlgorithmId(keyCopy.Length * 8), keyCopy)) { 192m_cspHandle, 243using (SafeCapiKeyHandle importedKey = CapiNative.ImportSymmetricKey(m_cspHandle, GetAlgorithmId(keyCopy.Length * 8), keyCopy)) { 258m_cspHandle, 272Contract.Ensures(!disposing || m_cspHandle == null || m_cspHandle.IsClosed); 280if (m_cspHandle != null) { 281m_cspHandle.Dispose(); 370Contract.Assert(m_cspHandle != null); 376if (!CapiNative.UnsafeNativeMethods.CryptGenKey(m_cspHandle, 385key.SetParentCsp(m_cspHandle); 403Contract.Assert(m_cspHandle != null); 407if (!CapiNative.UnsafeNativeMethods.CryptGenRandom(m_cspHandle, iv.Length, iv)) {