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