20 references to ECCurveType
System.Security.Cryptography (20)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (10)
400
private static Interop.BCrypt.ECC_CURVE_TYPE_ENUM ConvertToCurveTypeEnum(ECCurve.
ECCurveType
value)
403
Debug.Assert(value == ECCurve.
ECCurveType
.Characteristic2 ||
404
value == ECCurve.
ECCurveType
.PrimeShortWeierstrass ||
405
value == ECCurve.
ECCurveType
.PrimeTwistedEdwards);
412
private static ECCurve.
ECCurveType
ConvertToCurveTypeEnum(Interop.BCrypt.ECC_CURVE_TYPE_ENUM value)
415
ECCurve.
ECCurveType
curveType = (ECCurve.
ECCurveType
)value;
416
Debug.Assert(curveType == ECCurve.
ECCurveType
.Characteristic2 ||
417
curveType == ECCurve.
ECCurveType
.PrimeShortWeierstrass ||
418
curveType == ECCurve.
ECCurveType
.PrimeTwistedEdwards);
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
404
CurveType = ECCurve.
ECCurveType
.PrimeShortWeierstrass,
412
CurveType = ECCurve.
ECCurveType
.Characteristic2,
System\Security\Cryptography\ECCurve.cs (8)
52
public
ECCurveType
CurveType;
95
curve.CurveType =
ECCurveType
.Named;
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);