20 references to ECCurveType
System.Security.Cryptography (20)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (10)
400private static Interop.BCrypt.ECC_CURVE_TYPE_ENUM ConvertToCurveTypeEnum(ECCurve.ECCurveType value) 403Debug.Assert(value == ECCurve.ECCurveType.Characteristic2 || 404value == ECCurve.ECCurveType.PrimeShortWeierstrass || 405value == ECCurve.ECCurveType.PrimeTwistedEdwards); 412private static ECCurve.ECCurveType ConvertToCurveTypeEnum(Interop.BCrypt.ECC_CURVE_TYPE_ENUM value) 415ECCurve.ECCurveType curveType = (ECCurve.ECCurveType)value; 416Debug.Assert(curveType == ECCurve.ECCurveType.Characteristic2 || 417curveType == ECCurve.ECCurveType.PrimeShortWeierstrass || 418curveType == ECCurve.ECCurveType.PrimeTwistedEdwards);
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
404CurveType = ECCurve.ECCurveType.PrimeShortWeierstrass, 412CurveType = ECCurve.ECCurveType.Characteristic2,
System\Security\Cryptography\ECCurve.cs (8)
52public ECCurveType CurveType; 95curve.CurveType = ECCurveType.Named; 147return CurveType == ECCurve.ECCurveType.PrimeShortWeierstrass || 148CurveType == ECCurve.ECCurveType.PrimeMontgomery || 149CurveType == ECCurve.ECCurveType.PrimeTwistedEdwards; 157return CurveType == ECCurve.ECCurveType.Characteristic2; 173return CurveType == ECCurve.ECCurveType.Named; 242Debug.Assert(CurveType == ECCurveType.Implicit);