30 references to AlgorithmGroup
System.Security.Cryptography (30)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (3)
33
Debug.Assert(key.
AlgorithmGroup
== CngAlgorithmGroup.MLDsa);
45
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.MLDsa)
63
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.MLDsa)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemCng.Windows.cs (3)
25
Debug.Assert(key.
AlgorithmGroup
== CngAlgorithmGroup.MLKem);
37
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.MLKem)
55
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.MLKem)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\CertificateHelpers.Windows.cs (2)
66
if (clonedCngKey.
AlgorithmGroup
!= CngAlgorithmGroup.MLDsa)
270
int keySpec = GuessKeySpec(provider, keyName, machineKey, cngKey.
AlgorithmGroup
);
System\Security\Cryptography\CngKey.StandardProperties.cs (1)
232
CngAlgorithmGroup? algorithmGroup =
AlgorithmGroup
;
System\Security\Cryptography\CngPkcs8.cs (1)
14
return Key.
AlgorithmGroup
!.AlgorithmGroup;
System\Security\Cryptography\DSACng.cs (3)
16
/// <see cref="CngKey.
AlgorithmGroup
" /> must be Dsa. This constructor
28
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.Dsa)
47
Debug.Assert(key.
AlgorithmGroup
== CngAlgorithmGroup.Dsa);
System\Security\Cryptography\DSACng.Key.cs (1)
32
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.Dsa)
System\Security\Cryptography\ECDiffieHellmanCng.cs (2)
28
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman)
38
Debug.Assert(key.
AlgorithmGroup
== CngAlgorithmGroup.ECDiffieHellman);
System\Security\Cryptography\ECDiffieHellmanCng.Derive.cs (2)
46
if (otherPartyPublicKey.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman)
131
if (otherPartyPublicKey.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman)
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (1)
40
if (value.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman)
System\Security\Cryptography\ECDiffieHellmanCngPublicKey.cs (1)
74
if (imported.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman)
System\Security\Cryptography\ECDsaCng.cs (3)
34
/// <see cref="CngKey.
AlgorithmGroup
" /> must be ECDsa. This constructor
46
if (!IsEccAlgorithmGroup(key.
AlgorithmGroup
))
65
Debug.Assert(IsEccAlgorithmGroup(key.
AlgorithmGroup
));
System\Security\Cryptography\ECDsaCng.Key.cs (1)
30
if (!IsEccAlgorithmGroup(value.
AlgorithmGroup
))
System\Security\Cryptography\RSACng.cs (3)
16
/// <see cref="CngKey.
AlgorithmGroup
" /> must be Rsa. This constructor
28
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.Rsa)
47
Debug.Assert(key.
AlgorithmGroup
== CngAlgorithmGroup.Rsa);
System\Security\Cryptography\RSACng.Key.cs (1)
32
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.Rsa)
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (1)
25
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman ||
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (1)
67
if (cngKey.
AlgorithmGroup
== CngAlgorithmGroup.ECDiffieHellman)