Constructor and Description |
---|
LegacyIdentity(String clientId) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getClientId()
Returns a byte array of the client id.
|
String |
getDecodedClientId()
Returns a human-readable textual representation of client identity;
|
String |
getDecodedMachineId()
Returns a human-readable textual representation of machine identity.
|
byte[] |
getMachineId()
Returns a identifier of the machine id.
|
Long |
getRequestTime()
Returns the time when the server received the request from the client.
|
Long |
getSequenceNumber()
Returns a local sequence number of a request assigned by the machine that created the aggregation link.
|
IdentityType |
getType()
Returns the type of the identity.
|
public LegacyIdentity(String clientId)
public IdentityType getType()
Identity
public byte[] getClientId() throws UnsupportedEncodingException
Identity
getClientId
in interface Identity
UnsupportedEncodingException
public String getDecodedClientId()
Identity
getDecodedClientId
in interface Identity
public byte[] getMachineId()
Identity
getMachineId
in interface Identity
public String getDecodedMachineId()
Identity
getDecodedMachineId
in interface Identity
public Long getSequenceNumber()
Identity
getSequenceNumber
in interface Identity
public Long getRequestTime()
Identity
getRequestTime
in interface Identity
Copyright © 2024 Guardtime. All rights reserved.