7 instantiations of CngProperty
System.Security.Cryptography (7)
System\Security\Cryptography\BasicSymmetricCipherLiteNCrypt.cs (3)
19
new
CngProperty
(KeyPropertyName.ChainingMode, Encoding.Unicode.GetBytes(Cng.BCRYPT_CHAIN_MODE_ECB + "\0"), CngPropertyOptions.None);
21
new
CngProperty
(KeyPropertyName.ChainingMode, Encoding.Unicode.GetBytes(Cng.BCRYPT_CHAIN_MODE_CBC + "\0"), CngPropertyOptions.None);
23
new
CngProperty
(KeyPropertyName.ChainingMode, Encoding.Unicode.GetBytes(Cng.BCRYPT_CHAIN_MODE_CFB + "\0"), CngPropertyOptions.None);
System\Security\Cryptography\CngAlgorithmCore.cs (2)
70
CngProperty keySizeProperty = new
CngProperty
(KeyPropertyName.Length, keySizeBuffer, CngPropertyOptions.None);
104
CngProperty prop = new
CngProperty
(
System\Security\Cryptography\CngKey.EC.cs (1)
75
return new
CngProperty
(KeyPropertyName.ECCCurveName, curveNameBytes, CngPropertyOptions.None);
System\Security\Cryptography\CngKey.Properties.cs (1)
29
return new
CngProperty
(name, value, options);
22 references to CngProperty
System.Core (1)
System.Core.cs (1)
211
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
CngProperty
))]
System.Security.Cryptography (20)
System\Security\Cryptography\BasicSymmetricCipherLiteNCrypt.cs (4)
18
private static readonly
CngProperty
s_ECBMode =
20
private static readonly
CngProperty
s_CBCMode =
22
private static readonly
CngProperty
s_CFBMode =
43
CngProperty
chainingModeProperty = cipherMode switch
System\Security\Cryptography\CngAlgorithmCore.cs (2)
70
CngProperty
keySizeProperty = new CngProperty(KeyPropertyName.Length, keySizeBuffer, CngPropertyOptions.None);
104
CngProperty
prop = new CngProperty(
System\Security\Cryptography\CngKey.Create.cs (1)
115
foreach (
CngProperty
property in creationParameters.Parameters)
System\Security\Cryptography\CngKey.EC.cs (1)
70
internal static
CngProperty
GetPropertyFromNamedCurve(ECCurve curve)
System\Security\Cryptography\CngKey.Properties.cs (2)
18
public
CngProperty
GetProperty(string name, CngPropertyOptions options)
53
public void SetProperty(
CngProperty
property)
System\Security\Cryptography\CngProperty.cs (9)
17
public struct CngProperty : IEquatable<
CngProperty
>
31
/// Initializes a new instance of the <see cref="
CngProperty
" /> struct.
66
return obj is
CngProperty
&& Equals((
CngProperty
)obj);
69
public bool Equals(
CngProperty
other)
115
public static bool operator ==(
CngProperty
left,
CngProperty
right)
120
public static bool operator !=(
CngProperty
left,
CngProperty
right)
System\Security\Cryptography\CngPropertyCollection.cs (1)
10
public sealed class CngPropertyCollection : Collection<
CngProperty
>
System.Security.Cryptography.Cng (1)
System.Security.Cryptography.Cng.cs (1)
19
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
CngProperty
))]