# Identity
constructor(pinLength: Int, mpinId: ByteArray, token: ByteArray, dtas: String, publicKey: ByteArray?)
constructor(id: UUID, pinLength: Int, mpinId: ByteArray, token: ByteArray, dtas: String, publicKey: ByteArray?)
# 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. |