ActiveAuthStatus

sealed class ActiveAuthStatus

Result of active authentication — verifies that the chip is the original chip and has not been cloned or replaced.

Active auth is optional. If not requested via ro.eidkit.sdk.CeiReader.withActiveAuth, the status is Skipped.

Inheritors

Types

Link copied to clipboard
data class Failed(val reason: String) : ActiveAuthStatus

The chip's signature did not verify against the certificate, or the certificate did not chain to the trusted CSCA root.

Link copied to clipboard

Active authentication was not requested for this session.

Link copied to clipboard
data class Verified(val certSubject: String) : ActiveAuthStatus

The chip produced a valid ECDSA-SHA384 signature over the challenge using its private key, and the signature was verified against the certificate read from the chip.