EcPublicKeyDoubleCoordinate

data class EcPublicKeyDoubleCoordinate(val curve: EcCurve, val x: ByteArray, val y: ByteArray) : EcPublicKey

EC Public Key with two coordinates.

Parameters

x

the X coordinate of the public key.

y

the Y coordinate of the public key.

Constructors

Link copied to clipboard
constructor(curve: EcCurve, x: ByteArray, y: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The uncompressed point encoding of the key.

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toCoseKey(additionalLabels: Map<CoseLabel, DataItem>): CoseKey

Creates a CoseKey object for the key.

Link copied to clipboard
Link copied to clipboard
open override fun toJwk(additionalClaims: JsonObject?): JsonObject

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

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

Gets the Json Web Key Thumbprint.

Link copied to clipboard
fun toPem(): String

Encode this key in PEM format