SigningIdentityState

sealed interface SigningIdentityState

Identity availability is distinct from whether credential data exists in the wallet.

Inheritors

Types

Link copied to clipboard

No identity or conflicting unassociated key/DID exists.

Link copied to clipboard
data class Active(val identity: SigningIdentity) : SigningIdentityState

The identity is active and available for signing.

Link copied to clipboard
data class Pending(val identityId: String, val reason: SigningIdentityFailure) : SigningIdentityState

An interrupted setup must be resumed or cancelled before activation.

Link copied to clipboard
data class Unavailable(val identityId: String?, val reason: SigningIdentityFailure) : SigningIdentityState

Existing state requires attention; a replacement is never generated automatically.