4 writes to CurveType
System.Security.Cryptography (4)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EcDsa.ImportExport.cs (1)
268
curve.
CurveType
= curveType;
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (2)
418
CurveType
= ECCurve.ECCurveType.PrimeShortWeierstrass,
426
CurveType
= ECCurve.ECCurveType.Characteristic2,
System\Security\Cryptography\ECCurve.cs (1)
95
curve.
CurveType
= ECCurveType.Named;
17 references to CurveType
System.Security.Cryptography (17)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EcDsa.ImportExport.cs (2)
68
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.
CurveType
.ToString()));
72
curve.
CurveType
,
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (1)
552
SR.Format(SR.Cryptography_CurveNotSupported, ecParameters.Curve.
CurveType
.ToString()));
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.cs (1)
99
SR.Format(SR.Cryptography_CurveNotSupported, curve.
CurveType
.ToString()));
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.ImportExport.cs (3)
36
SR.Format(SR.Cryptography_CurveNotSupported, parameters.Curve.
CurveType
.ToString()));
128
parameters.Curve.
CurveType
,
148
parameters.Curve.
CurveType
,
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\Helpers.cs (3)
195
if (aParameters.Curve.
CurveType
!= bParameters.Curve.
CurveType
)
241
Debug.Fail($"Missing match criteria for curve type {aCurve.
CurveType
}");