Format

sealed class Format : EncodingFormat(source)

Encoding formats for EC private keys.

Inheritors

Types

Link copied to clipboard
sealed class DER : EC.PrivateKey.Format

DER encoding of EC private key.

Link copied to clipboard

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

Link copied to clipboard
sealed class PEM : EC.PrivateKey.Format

PEM encoding of EC private key.

Link copied to clipboard

Raw encoding containing only the private key's secret scalar value as a fixed-size big-endian integer as defined in SEC 1, Section 2.3.7.

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