Format

sealed class Format : EncodingFormat(source)

Encoding formats for DH public keys.

Inheritors

Types

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

DER encoding of SubjectPublicKeyInfo as defined in RFC 5280.

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

PEM encoding of SubjectPublicKeyInfo as defined in RFC 5280.

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