35 references to CngKey
System.Core (1)
System.Core.cs (1)
203[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CngKey))]
System.Security.Cryptography (33)
src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.cs (10)
27private CngKey _key; 30/// Initializes a new instance of the <see cref="MLDsaCng"/> class by using the specified <see cref="CngKey"/>. 45public MLDsaCng(CngKey key) 46: base(AlgorithmFromHandleWithPlatformCheck(key, out CngKey duplicateKey)) 51private static MLDsaAlgorithm AlgorithmFromHandleWithPlatformCheck(CngKey key, out CngKey duplicateKey) 63private static partial MLDsaAlgorithm AlgorithmFromHandle(CngKey key, out CngKey duplicateKey); 75/// This <see cref="CngKey"/> object is not the same as the one passed to the <see cref="MLDsaCng"/> constructor, 78public partial CngKey Key { get; }
System\Security\Cryptography\Cng.NotSupported.cs (23)
126public static CngKey Create(CngAlgorithm algorithm) 132public static CngKey Create(CngAlgorithm algorithm, string? keyName) 138public static CngKey Create(CngAlgorithm algorithm, string? keyName, CngKeyCreationParameters? creationParameters) 162public static CngKey Import(byte[] keyBlob, CngKeyBlobFormat format) 168public static CngKey Import(byte[] keyBlob, CngKeyBlobFormat format, CngProvider provider) 174public static CngKey Open(SafeNCryptKeyHandle keyHandle, CngKeyHandleOpenOptions keyHandleOpenOptions) 180public static CngKey Open(string keyName) 186public static CngKey Open(string keyName, CngProvider provider) 192public static CngKey Open(string keyName, CngProvider provider, CngKeyOpenOptions openOptions) 212public DSACng(CngKey key) 217public CngKey Key => null!; 238public ECDiffieHellmanCng(CngKey key) 251public CngKey Key => null!; 258public SafeNCryptSecretHandle DeriveSecretAgreementHandle(CngKey otherPartyPublicKey) => null!; 260public byte[] DeriveKeyMaterial(CngKey otherPartyPublicKey) => null!; 272public CngKey Import() => null!; 307public ECDsaCng(CngKey key) 319public CngKey Key => null!; 348public RSACng(CngKey key) 353public CngKey Key => null!; 390private static partial MLDsaAlgorithm AlgorithmFromHandle(CngKey key, out CngKey duplicateKey) => 393public partial CngKey Key =>
System.Security.Cryptography.Cng (1)
System.Security.Cryptography.Cng.cs (1)
12[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CngKey))]