26 references to CngKeyOpenOptions
System.Core (1)
System.Core.cs (1)
209[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CngKeyOpenOptions))]
System.Security.Cryptography (24)
_generated\0\LibraryImports.g.cs (2)
4963internal static partial global::Interop.NCrypt.ErrorCode NCryptOpenKey(global::Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle hProvider, out global::Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle phKey, string pszKeyName, int dwLegacyKeySpec, global::System.Security.Cryptography.CngKeyOpenOptions dwFlags) 5006static extern unsafe global::Interop.NCrypt.ErrorCode __PInvoke(nint __hProvider_native, nint* __phKey_native, ushort* __pszKeyName_native, int __dwLegacyKeySpec_native, global::System.Security.Cryptography.CngKeyOpenOptions __dwFlags_native);
src\runtime\src\libraries\Common\src\Interop\Windows\NCrypt\Interop.Keys.cs (1)
20internal static partial ErrorCode NCryptOpenKey(SafeNCryptProviderHandle hProvider, out SafeNCryptKeyHandle phKey, string pszKeyName, int dwLegacyKeySpec, CngKeyOpenOptions dwFlags);
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeCertContextHandleWithKeyContainerDeletion.cs (3)
53CngKeyOpenOptions openOpts = CngKeyOpenOptions.None; 57openOpts = CngKeyOpenOptions.MachineKey;
System\Security\Cryptography\AesCng.Windows.cs (2)
35: this(keyName, provider, CngKeyOpenOptions.None) 40public AesCng(string keyName, CngProvider provider, CngKeyOpenOptions openOptions)
System\Security\Cryptography\CngKey.Exists.cs (2)
29return Exists(keyName, provider, options: CngKeyOpenOptions.None); 33public static bool Exists(string keyName, CngProvider provider, CngKeyOpenOptions options)
System\Security\Cryptography\CngKey.Open.cs (2)
29return Open(keyName, provider, openOptions: CngKeyOpenOptions.None); 33public static CngKey Open(string keyName, CngProvider provider, CngKeyOpenOptions openOptions)
System\Security\Cryptography\CngKey.StandardProperties.cs (4)
159CngKeyOpenOptions keyType = (CngKeyOpenOptions)_keyHandle.GetPropertyAsDword(KeyPropertyName.KeyType, CngPropertyOptions.None); 160bool isMachineKey = (keyType & CngKeyOpenOptions.MachineKey) == CngKeyOpenOptions.MachineKey;
System\Security\Cryptography\CngSymmetricAlgorithmCore.cs (3)
24_optionOptions = CngKeyOpenOptions.None; 30public CngSymmetricAlgorithmCore(ICngSymmetricAlgorithm outer, string keyName, CngProvider provider, CngKeyOpenOptions openOptions) 336private readonly CngKeyOpenOptions _optionOptions;
System\Security\Cryptography\TripleDESCng.Windows.cs (2)
34: this(keyName, provider, CngKeyOpenOptions.None) 39public TripleDESCng(string keyName, CngProvider provider, CngKeyOpenOptions openOptions)
System\Security\Cryptography\X509Certificates\CertificateHelpers.Windows.cs (3)
37CngKeyOpenOptions options = machineKey ? CngKeyOpenOptions.MachineKey : CngKeyOpenOptions.None;
System.Security.Cryptography.Cng (1)
System.Security.Cryptography.Cng.cs (1)
17[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CngKeyOpenOptions))]