EC

Base interface for elliptic curve algorithms.

Inheritors

Types

Link copied to clipboard
value class Curve(val name: String)

Identifies an elliptic curve by its standard name.

Properties

Link copied to clipboard
abstract val id: CryptographyAlgorithmId<*>

The typed identifier that uniquely distinguishes this algorithm and is used to look it up from a CryptographyProvider.

Functions

Link copied to clipboard
abstract fun keyPairGenerator(curve: EC.Curve): KeyGenerator<KP>

Returns a KeyGenerator that generates EC key pairs on the given curve.

Link copied to clipboard

Returns a Decoder that decodes EC private keys on the given curve from the specified PrivateKey.Format.

Link copied to clipboard

Returns a Decoder that decodes EC public keys on the given curve from the specified PublicKey.Format.