Record Class UpdatesProvider.BuildSecretsCheck
java.lang.Object
java.lang.Record
pro.gravit.launchserver.auth.updates.UpdatesProvider.BuildSecretsCheck
- Enclosing class:
UpdatesProvider
-
Constructor Summary
ConstructorsConstructorDescriptionBuildSecretsCheck(String secureHash, String secureSalt, byte[] digest) Creates an instance of aBuildSecretsCheckrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]digest()Returns the value of thedigestrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesecureHashrecord component.Returns the value of thesecureSaltrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BuildSecretsCheck
Creates an instance of aBuildSecretsCheckrecord class.- Parameters:
secureHash- the value for thesecureHashrecord componentsecureSalt- the value for thesecureSaltrecord componentdigest- the value for thedigestrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
secureHash
Returns the value of thesecureHashrecord component.- Returns:
- the value of the
secureHashrecord component
-
secureSalt
Returns the value of thesecureSaltrecord component.- Returns:
- the value of the
secureSaltrecord component
-
digest
public byte[] digest()Returns the value of thedigestrecord component.- Returns:
- the value of the
digestrecord component
-