ECCurve

EC Curve Class jwkName really does use established JWK curve names

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val a: ModularBigInteger

a: Curve equation coefficient See https://www.secg.org/sec2-v2.pdf

Link copied to clipboard
val b: ModularBigInteger

b: Curve equation coefficient See https://www.secg.org/sec2-v2.pdf

Link copied to clipboard

h: Cofactor of the cyclic subgroup generated by G See https://www.secg.org/sec2-v2.pdf

Link copied to clipboard

the number of bits/bytes needed to store point coordinates (such as public key coordinates) in unsigned form

Link copied to clipboard

the number of bytes needed to store a public key coordinate in unsigned form

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

G: Generator of cyclic curve subgroup See https://www.secg.org/sec2-v2.pdf

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

the number of bits needed to store a private key in unsigned form

Link copied to clipboard
val modulus: BigInteger

p: Prime modulus of the underlying prime field See https://www.secg.org/sec2-v2.pdf

Link copied to clipboard
Link copied to clipboard

A digest well-suited to operations on this curve, with output length near the curve's coordinate length.

Link copied to clipboard
open override val oid: ObjectIdentifier
Link copied to clipboard
val order: BigInteger

n: Order of (the cyclic subgroup generated by) G See https://www.secg.org/sec2-v2.pdf

Link copied to clipboard
Link copied to clipboard

the number of bits/bytes needed to store scalar multipliers (such as private keys) in unsigned form

Link copied to clipboard

the number of bytes needed to store a raw signature (r and s concatenated) over this curve

Functions

Link copied to clipboard
fun valueOf(value: String): ECCurve

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.