EcCurve

Elliptic curve identifiers.

All curve identifiers are from the IANA COSE registry.

Entries

Link copied to clipboard

The curve identifier for P-256

Link copied to clipboard

The curve identifier for P-384

Link copied to clipboard

The curve identifier for P-521

Link copied to clipboard

The curve identifier for brainpoolP256r1

Link copied to clipboard

The curve identifier for brainpoolP320r1

Link copied to clipboard

The curve identifier for brainpoolP384r1

Link copied to clipboard

The curve identifier for brainpoolP512r1

Link copied to clipboard

The curve identifier for Ed25519 (EdDSA only)

Link copied to clipboard

The curve identifier for X25519 (ECDH only)

Link copied to clipboard

The curve identifier for Ed448 (EdDSA only)

Link copied to clipboard

The curve identifier for X448 (ECDH only)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The curve size in bits

Link copied to clipboard

the COSE curve identifier.

Link copied to clipboard

The default signing algorithm for the curve.

Link copied to clipboard

The default signing algorithm for the curve, fully specified.

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

The name of the curve according to JSON Web Key Elliptic Curve

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

The name of the curve according to Standards for Efficient Cryptography Group.

Link copied to clipboard

true if the curve supports Key Agreement.

Link copied to clipboard

true if the curve supports Signing.

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.