SignResult

data class SignResult(val signature: ByteArray, val certificate: ByteArray)

The result of a ro.eidkit.sdk.CeiSigner session.

Contains the raw ECDSA-SHA384 signature produced by the chip's nonRepudiation key and the certificate used to verify it.

Constructors

Link copied to clipboard
constructor(signature: ByteArray, certificate: ByteArray)

Properties

Link copied to clipboard

DER-encoded X.509 certificate (CE8E file from the GenPKI applet). Contains the public key needed to verify signature. Subject will include the card holder's name and CNP.

Link copied to clipboard

96-byte raw ECDSA-SHA384 signature in r||s format (48 bytes each). Produced by INTERNAL AUTHENTICATE using key reference 0x8E (nonRepudiation key) in GenPKI.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int