# ECCurve 结构

## 定义

``public value class ECCurve``
``public struct ECCurve``
``type ECCurve = struct``
``Public Structure ECCurve``

ECCurve

## 字段

 显式曲线的第 1 个系数。The first coefficient for an explicit curve. Weierstrass、Montgomery 和 Twisted Edwards 短曲线的 `A`。`A` for short Weierstrass, Montgomery, and Twisted Edwards curves. 显式曲线的第 2 个系数。The second coefficient for an explicit curve. 对于 Weierstrass 短曲线，为 `B`；对于 Twisted Edwards 曲线，为 `d`。`B` for short Weierstrass and `d` for Twisted Edwards curves. 曲线的余因子。The cofactor of the curve. 确定 ECCurve 对象的组成。Identifies the composition of the ECCurve object. 曲线上操作的生成器或基点。The generator, or base point, for operations on the curve. 哈希算法的名称，此算法用于根据 ANSI X9.62 生成算法从 Seed 生成曲线系数（A 和 B）。The name of the hash algorithm which was used to generate the curve coefficients (A and B) from the Seed under the ANSI X9.62 generation algorithm. 仅适用于显式曲线。Applies only to explicit curves. 曲线的顺序。The order of the curve. 仅适用于显式曲线。Applies only to explicit curves. 多项式曲线。The curve polynomial. 仅适用于特征 2 曲线。Applies only to characteristic 2 curves. 指定基本字段的素数。The prime specifying the base field. 仅适用于素数曲线。Applies only to prime curves. ANSI X9.62 生成算法下系数生成的种子值。The seed value for coefficient generation under the ANSI X9.62 generation algorithm. 仅适用于显式曲线。Applies only to explicit curves.

## 属性

 获取一个值，该值指示曲线类型是否指示显式特征 2 曲线。Gets a value that indicates whether the curve type indicates an explicit characteristic 2 curve. 获取一个值，该值指示曲线类型是否指示显式曲线（素数曲线或特征 2 曲线）。Gets a value that indicates whether the curve type indicates an explicit curve (either prime or characteristic 2). 获取一个值，该值指示曲线类型是否指示已命名曲线。Gets a value that indicates whether the curve type indicates a named curve. 获取一个值，该值指示曲线类型是否指示显式素数曲线。Gets a value that indicates whether the curve type indicates an explicit prime curve. 获取已命名曲线的标识符。Gets the identifier of a named curve.

## 方法

 使用标识符的指定友好名称创建命名的曲线。Creates a named curve using the specified friendly name of the identifier. 使用指定的 Oid 对象创建已命名曲线。Creates a named curve using the specified Oid object. 使用指定的标识符点分十进制表示形式创建已命名曲线。Creates a named curve using the specified dotted-decimal representation of the identifier. 验证当前曲线的完整性。Validates the integrity of the current curve. 如果结构无效，将引发 CryptographicException 异常。Throws a CryptographicException exception if the structure is not valid.