EcPublicKey

sealed class EcPublicKey

An EC Public Key.

Parameters

curve

the curve of the key.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val curve: EcCurve
Link copied to clipboard
val EcPublicKey.javaPublicKey: <Error class: unknown class>

Functions

Link copied to clipboard
abstract fun toCoseKey(additionalLabels: Map<CoseLabel, DataItem> = emptyMap()): CoseKey

Creates a CoseKey object for the key.

Link copied to clipboard
Link copied to clipboard
abstract fun toJwk(additionalClaims: JsonObject? = null): JsonObject

Encodes the public key as a JSON Web Key according to RFC 7517.

Link copied to clipboard
abstract fun toJwkThumbprint(digestAlgorithm: Algorithm): ByteString

Gets the Json Web Key Thumbprint.

Link copied to clipboard
fun toPem(): String

Encode this key in PEM format