public class ClientData
extends java.lang.Object
Constructor and Description |
---|
ClientData()
Reserved for internal use only.
|
ClientData(java.lang.String clientId,
RegistrationData registration,
boolean enabled,
boolean registrationComplete,
long lastActivityTime,
java.lang.String signatureAlgorithm,
java.util.Map webKey,
java.util.Map users,
PersistentAttributes publicAttributes,
PersistentAttributes protectedAttributes,
java.security.interfaces.RSAPublicKey publicKey)
Reserved for internal use only.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientId()
Gets the unique ID of the application instance.
|
long |
getLastActivityTime()
Gets the timestamp of the last registered client activity, precise up to an hour.
|
PersistentAttributes |
getProtectedAttributes()
Gets the custom protected attributes.
|
PersistentAttributes |
getPublicAttributes()
Gets the custom public attributes.
|
java.security.interfaces.RSAPublicKey |
getPublicKey()
Gets the public key used by the application instance.
|
RegistrationData |
getRegistration()
Gets the data reported by the mobile client during the registration, including the application and the device it is installed on.
|
boolean |
getRegistrationComplete()
Returns true if the registration is complete, false if the registration is in progress
|
java.lang.String |
getSignatureAlgorithm()
Gets the name of the signature algorithm used by the application instance.
|
java.util.Map |
getUsers()
Gets the users associated with the application instance.
|
java.util.Map |
getWebKey()
Returns a JSON representation of the public key used by the application instance.
|
boolean |
isEnabled()
Returns true if the application instance is enabled, false otherwise.
|
public ClientData()
public ClientData(java.lang.String clientId, RegistrationData registration, boolean enabled, boolean registrationComplete, long lastActivityTime, java.lang.String signatureAlgorithm, java.util.Map webKey, java.util.Map users, PersistentAttributes publicAttributes, PersistentAttributes protectedAttributes, java.security.interfaces.RSAPublicKey publicKey)
public java.lang.String getClientId()
public RegistrationData getRegistration()
public boolean isEnabled()
public java.lang.String getSignatureAlgorithm()
public java.util.Map getWebKey()
ClientData.getPublicKey()
public java.security.interfaces.RSAPublicKey getPublicKey()
ClientData.getWebKey()
public boolean getRegistrationComplete()
public long getLastActivityTime()
public java.util.Map getUsers()
public PersistentAttributes getPublicAttributes()
public PersistentAttributes getProtectedAttributes()
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.