com.miracl.trust.model

Package com.miracl.trust.model

Types

Name Summary
Identity
data class Identity(id: UUID, pinLength: Int, revoked: Boolean, mpinId: ByteArray, token: ByteArray, dtas: String, publicKey: ByteArray?)
Identity is a MIRACL Trust data class to represent an identity.
OneTimeCode
interface OneTimeCode : Serializable
Interface representing one time code and its validity period.
OTP
data class OTP(code: String, nowTime: Long, expireTime: Long, ttlSeconds: Int) : OneTimeCode
Object representing one time password and its validity period.
QuickCode
data class QuickCode(code: String, nowTime: Long, expireTime: Long, ttlSeconds: Int) : OneTimeCode
Object representing Quick Code and its validity period.
User
data class User(userId: String, projectId: String, authenticationIdentityId: UUID, signingIdentityId: UUID?, userStorage: UserStorage)
Object representing the user in the platform.