Format

sealed class Format : EncodingFormat(source)

Encoding formats for EC public keys.

Inheritors

Types

Link copied to clipboard
data object DER : EC.PublicKey.Format

DER encoding of SubjectPublicKeyInfo as defined in RFC 5280 with EC parameters from RFC 5480.

Link copied to clipboard
data object JWK : EC.PublicKey.Format

JSON Web Key format as defined in RFC 7518 Section 6.2.

Link copied to clipboard
data object PEM : EC.PublicKey.Format

PEM encoding of SubjectPublicKeyInfo as defined in RFC 5280 with EC parameters from RFC 5480.

Link copied to clipboard
sealed class RAW : EC.PublicKey.Format

Raw EC point encoding as defined in SEC 1, Section 2.3.3.

Properties

Link copied to clipboard
abstract val name: String

A human-readable name identifying this encoding format.

Functions

Link copied to clipboard
override fun toString(): String