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