4 writes to CurveType
System.Security.Cryptography (4)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (1)
195
primeCurve.
CurveType
= ConvertToCurveTypeEnum(pBcryptBlob->CurveType);
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
404
CurveType
= ECCurve.ECCurveType.PrimeShortWeierstrass,
412
CurveType
= ECCurve.ECCurveType.Characteristic2,
System\Security\Cryptography\ECCurve.cs (1)
95
curve.
CurveType
= ECCurveType.Named;
18 references to CurveType
System.Security.Cryptography (18)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (2)
89
pBcryptBlob->CurveType = ConvertToCurveTypeEnum(curve.
CurveType
);
264
pBcryptBlob->CurveType = ECCng.ConvertToCurveTypeEnum(curve.
CurveType
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (1)
63
SR.Format(SR.Cryptography_CurveNotSupported, curve.
CurveType
.ToString()));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (1)
75
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.
CurveType
.ToString()));
System\Security\Cryptography\CngAlgorithmCore.cs (1)
112
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.Value.
CurveType
.ToString()));
System\Security\Cryptography\EccKeyFormatHelper.cs (1)
531
SR.Format(SR.Cryptography_CurveNotSupported, ecParameters.Curve.
CurveType
.ToString()));
System\Security\Cryptography\ECCurve.cs (7)
147
return
CurveType
== ECCurve.ECCurveType.PrimeShortWeierstrass ||
148
CurveType
== ECCurve.ECCurveType.PrimeMontgomery ||
149
CurveType
== ECCurve.ECCurveType.PrimeTwistedEdwards;
157
return
CurveType
== ECCurve.ECCurveType.Characteristic2;
173
return
CurveType
== ECCurve.ECCurveType.Named;
242
Debug.Assert(
CurveType
== ECCurveType.Implicit);
245
throw new CryptographicException(SR.Format(SR.Cryptography_CurveNotSupported,
CurveType
.ToString()));
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (1)
94
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.
CurveType
.ToString()));
System\Security\Cryptography\ECDsaCng.Key.cs (1)
83
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.
CurveType
.ToString()));
System\Security\Cryptography\Helpers.cs (3)
202
if (aParameters.Curve.
CurveType
!= bParameters.Curve.
CurveType
)
248
Debug.Fail($"Missing match criteria for curve type {aCurve.
CurveType
}");