SignResult

data class SignResult(val signature: ByteArray, val certificate: ByteArray, val demoMode: Boolean = false)

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, demoMode: Boolean = false)

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
val demoMode: Boolean = false

True when the SDK is running in demo mode (no license token was provided). signature and certificate are stubs — cryptographically invalid. Use this to show a "Demo mode" indicator in your UI.

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