EcYByteArrayParams

data class EcYByteArrayParams(val curve: CoseEllipticCurve? = null, val x: ByteArray? = null, val y: ByteArray? = null, val d: ByteArray? = null) : CoseKeyParams.EcKeyParams<ByteArray> (source)

COSE EC public key parameters without point compression, i.e. the y coordinate being a ByteArray. Since this is used as part of a COSE-specific DTO, every property is nullable

Constructors

Link copied to clipboard
constructor(curve: CoseEllipticCurve? = null, x: ByteArray? = null, y: ByteArray? = null, d: ByteArray? = null)

Properties

Link copied to clipboard
open override val curve: CoseEllipticCurve? = null
Link copied to clipboard
open override val d: ByteArray? = null
Link copied to clipboard
open override val x: ByteArray? = null
Link copied to clipboard
open override val y: ByteArray? = null

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 toCryptoPublicKey(): KmmResult<CryptoPublicKey>