com.miracl.trust.model

Package com.miracl.trust.model

Types

Name Summary
Identity
Brief description


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


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


OneTimeCode
Brief description


Interface representing one time code and its validity period.


Content
interface OneTimeCode : Serializable


OTP
Brief description


Object representing one time password and its validity period.


Content
data class OTP(code: String, nowTime: Long, expireTime: Long, ttlSeconds: Int) : OneTimeCode


QuickCode
Brief description


Object representing Quick Code and its validity period.


Content
data class QuickCode(code: String, nowTime: Long, expireTime: Long, ttlSeconds: Int) : OneTimeCode


User
Brief description


Object representing the user in the platform.


Content
data class User(userId: String, projectId: String, authenticationIdentityId: UUID, signingIdentityId: UUID?, userStorage: UserStorage)