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)
4963
internal 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)
5006
static 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)
20
internal 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)
53
CngKeyOpenOptions
openOpts =
CngKeyOpenOptions
.None;
57
openOpts =
CngKeyOpenOptions
.MachineKey;
System\Security\Cryptography\AesCng.Windows.cs (2)
35
: this(keyName, provider,
CngKeyOpenOptions
.None)
40
public AesCng(string keyName, CngProvider provider,
CngKeyOpenOptions
openOptions)
System\Security\Cryptography\CngKey.Exists.cs (2)
29
return Exists(keyName, provider, options:
CngKeyOpenOptions
.None);
33
public static bool Exists(string keyName, CngProvider provider,
CngKeyOpenOptions
options)
System\Security\Cryptography\CngKey.Open.cs (2)
29
return Open(keyName, provider, openOptions:
CngKeyOpenOptions
.None);
33
public static CngKey Open(string keyName, CngProvider provider,
CngKeyOpenOptions
openOptions)
System\Security\Cryptography\CngKey.StandardProperties.cs (4)
159
CngKeyOpenOptions
keyType = (
CngKeyOpenOptions
)_keyHandle.GetPropertyAsDword(KeyPropertyName.KeyType, CngPropertyOptions.None);
160
bool isMachineKey = (keyType &
CngKeyOpenOptions
.MachineKey) ==
CngKeyOpenOptions
.MachineKey;
System\Security\Cryptography\CngSymmetricAlgorithmCore.cs (3)
24
_optionOptions =
CngKeyOpenOptions
.None;
30
public CngSymmetricAlgorithmCore(ICngSymmetricAlgorithm outer, string keyName, CngProvider provider,
CngKeyOpenOptions
openOptions)
336
private readonly
CngKeyOpenOptions
_optionOptions;
System\Security\Cryptography\TripleDESCng.Windows.cs (2)
34
: this(keyName, provider,
CngKeyOpenOptions
.None)
39
public TripleDESCng(string keyName, CngProvider provider,
CngKeyOpenOptions
openOptions)
System\Security\Cryptography\X509Certificates\CertificateHelpers.Windows.cs (3)
37
CngKeyOpenOptions
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
))]