19 references to AlgorithmGroup
System.Core (19)
System\Security\Cryptography\ECDiffieHellmanCng.cs (8)
71
Contract.Ensures(m_key != null && m_key.
AlgorithmGroup
== CngAlgorithmGroup.ECDiffieHellman);
76
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman) {
212
Contract.Ensures(Contract.Result<CngKey>().
AlgorithmGroup
== CngAlgorithmGroup.ECDiffieHellman);
213
Contract.Ensures(m_key != null && m_key.
AlgorithmGroup
== CngAlgorithmGroup.ECDiffieHellman);
256
Contract.Ensures(m_key != null && m_key.
AlgorithmGroup
== CngAlgorithmGroup.ECDiffieHellman);
258
if (value.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman) {
345
if (otherPartyPublicKey.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman) {
517
if (otherPartyPublicKey.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman) {
System\Security\Cryptography\ECDiffieHellmanCngPublicKey.cs (2)
70
if (imported.
AlgorithmGroup
!= CngAlgorithmGroup.ECDiffieHellman) {
79
Contract.Requires(key != null && key.
AlgorithmGroup
== CngAlgorithmGroup.ECDiffieHellman);
System\Security\Cryptography\ECDsaCng.cs (6)
53
Contract.Ensures(m_key != null && IsEccAlgorithmGroup(m_key.
AlgorithmGroup
));
58
if (!IsEccAlgorithmGroup(key.
AlgorithmGroup
)) {
125
Contract.Ensures(IsEccAlgorithmGroup(Contract.Result<CngKey>().
AlgorithmGroup
));
126
Contract.Ensures(m_key != null && IsEccAlgorithmGroup(m_key.
AlgorithmGroup
));
169
Contract.Ensures(m_key != null && IsEccAlgorithmGroup(m_key.
AlgorithmGroup
));
171
if (!IsEccAlgorithmGroup(value.
AlgorithmGroup
)) {
System\Security\Cryptography\RsaCng.cs (3)
44
/// <see cref="CngKey.
AlgorithmGroup
" /> must be Rsa.
59
if (key.
AlgorithmGroup
!= CngAlgorithmGroup.Rsa)
112
if (value.
AlgorithmGroup
!= CngAlgorithmGroup.Rsa)