Gallagher Mobile Connect SDK
Public Member Functions | List of all members
com.gallagher.security.mobileaccess.SaltoKeyIdentifier Class Reference

Public Member Functions

String getCredentialId ()
 
UUID getSaltoServerId ()
 
int getSourceSiteFacilityId ()
 
String getName ()
 
Date getIssueTime ()
 
Date getExpiryTime ()
 
boolean equals (@Nullable Object obj)
 
int hashCode ()
 

Detailed Description

An object that contains all the identifiers for a Salto Key but not the actual key value itself

Member Function Documentation

◆ equals()

boolean com.gallagher.security.mobileaccess.SaltoKeyIdentifier.equals ( @Nullable Object  obj)
100 {
101 if (!(obj instanceof SaltoKeyIdentifier))
102 return false;
103
104 SaltoKeyIdentifier other = (SaltoKeyIdentifier)obj;
105 return credentialId.equals(other.credentialId) &&
106 saltoServerId.equals(other.saltoServerId) &&
107 ((name == null && other.name == null) || (name != null && name.equals(other.name))) &&
108 ((issueTime == null && other.issueTime == null) || (issueTime != null && issueTime.equals(other.issueTime))) &&
109 ((expiryTime == null && other.expiryTime == null) || (expiryTime != null && expiryTime.equals(other.expiryTime)));
110 }

◆ getCredentialId()

String com.gallagher.security.mobileaccess.SaltoKeyIdentifier.getCredentialId ( )
Returns
The ID of the credential the Salto Key belongs to
67{ return credentialId; }

◆ getExpiryTime()

Date com.gallagher.security.mobileaccess.SaltoKeyIdentifier.getExpiryTime ( )
Returns
The datetime the Salto Key will expire
96{ return expiryTime; }

◆ getIssueTime()

Date com.gallagher.security.mobileaccess.SaltoKeyIdentifier.getIssueTime ( )
Returns
The datetime the Salto Key was issued
90{ return issueTime; }

◆ getName()

String com.gallagher.security.mobileaccess.SaltoKeyIdentifier.getName ( )
Returns
The assigned name of the Salto Key
84{ return name; }

◆ getSaltoServerId()

UUID com.gallagher.security.mobileaccess.SaltoKeyIdentifier.getSaltoServerId ( )
Returns
The Unique Identifier for the Salto Server the Salto Key belongs to
73{ return saltoServerId; }

◆ getSourceSiteFacilityId()

int com.gallagher.security.mobileaccess.SaltoKeyIdentifier.getSourceSiteFacilityId ( )
Returns
Facility ID of the site this Salto Key was received from or zero if same as the Mobile Credential
78{ return sourceSiteFacilityId; }

◆ hashCode()

int com.gallagher.security.mobileaccess.SaltoKeyIdentifier.hashCode ( )
116 {
117 return credentialId.hashCode();
118 }

The documentation for this class was generated from the following file: