Identity

# Identity


data class Identity(id: UUID, pinLength: Int, mpinId: ByteArray, token: ByteArray, dtas: String, publicKey: ByteArray?)

Identity is a MIRACL Trust data class to represent an identity.

# Parameters

id Identifier of the identity.
pinLength The number of the digits the identity PIN should be.
mpinId representing the identity to the MIRACL Trust Platform.
token representing the identity securely.
dtas required for server side validation.
publicKey Public part of the signing key.

# Constructors

Identity
fun Identity(pinLength: Int, mpinId: ByteArray, token: ByteArray, dtas: String, publicKey: ByteArray?)
Identity
fun Identity(id: UUID, pinLength: Int, mpinId: ByteArray, token: ByteArray, dtas: String, publicKey: ByteArray?)

# Types

Name Summary
Companion
object Companion

# Functions

Name Summary
equals
open operator override fun equals(other: Any?): Boolean
hashCode
open override fun hashCode(): Int

# Properties

Name Summary
dtas
val dtas: String
hashedMpinId
val hashedMpinId: String
Hex encoded SHA256 representation of the mpinId property.
id
val id: UUID
mpinId
val mpinId: ByteArray
pinLength
val pinLength: Int
publicKey
val publicKey: ByteArray?
token
val token: ByteArray