Module it.auties.cobalt
Record Class CompanionRegistrationData
java.lang.Object
java.lang.Record
it.auties.whatsapp.model.signal.auth.CompanionRegistrationData
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject
public record CompanionRegistrationData(byte[] eRegid, byte[] eKeytype, byte[] eIdent, byte[] eSkeyId, byte[] eSkeyVal, byte[] eSkeySig, byte[] buildHash, byte[] companionProps)
extends Record
implements it.auties.protobuf.model.ProtobufMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]The field for thebuildHashrecord component.private final byte[]The field for thecompanionPropsrecord component.private final byte[]The field for theeIdentrecord component.private final byte[]The field for theeKeytyperecord component.private final byte[]The field for theeRegidrecord component.private final byte[]The field for theeSkeyIdrecord component.private final byte[]The field for theeSkeySigrecord component.private final byte[]The field for theeSkeyValrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCompanionRegistrationData(byte[] eRegid, byte[] eKeytype, byte[] eIdent, byte[] eSkeyId, byte[] eSkeyVal, byte[] eSkeySig, byte[] buildHash, byte[] companionProps) Creates an instance of aCompanionRegistrationDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the value of thebuildHashrecord component.byte[]Returns the value of thecompanionPropsrecord component.byte[]eIdent()Returns the value of theeIdentrecord component.byte[]eKeytype()Returns the value of theeKeytyperecord component.final booleanIndicates whether some other object is "equal to" this one.byte[]eRegid()Returns the value of theeRegidrecord component.byte[]eSkeyId()Returns the value of theeSkeyIdrecord component.byte[]eSkeySig()Returns the value of theeSkeySigrecord component.byte[]eSkeyVal()Returns the value of theeSkeyValrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
eRegid
private final byte[] eRegidThe field for theeRegidrecord component. -
eKeytype
private final byte[] eKeytypeThe field for theeKeytyperecord component. -
eIdent
private final byte[] eIdentThe field for theeIdentrecord component. -
eSkeyId
private final byte[] eSkeyIdThe field for theeSkeyIdrecord component. -
eSkeyVal
private final byte[] eSkeyValThe field for theeSkeyValrecord component. -
eSkeySig
private final byte[] eSkeySigThe field for theeSkeySigrecord component. -
buildHash
private final byte[] buildHashThe field for thebuildHashrecord component. -
companionProps
private final byte[] companionPropsThe field for thecompanionPropsrecord component.
-
-
Constructor Details
-
CompanionRegistrationData
public CompanionRegistrationData(byte[] eRegid, byte[] eKeytype, byte[] eIdent, byte[] eSkeyId, byte[] eSkeyVal, byte[] eSkeySig, byte[] buildHash, byte[] companionProps) Creates an instance of aCompanionRegistrationDatarecord class.- Parameters:
eRegid- the value for theeRegidrecord componenteKeytype- the value for theeKeytyperecord componenteIdent- the value for theeIdentrecord componenteSkeyId- the value for theeSkeyIdrecord componenteSkeyVal- the value for theeSkeyValrecord componenteSkeySig- the value for theeSkeySigrecord componentbuildHash- the value for thebuildHashrecord componentcompanionProps- the value for thecompanionPropsrecord 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). -
eRegid
public byte[] eRegid()Returns the value of theeRegidrecord component.- Returns:
- the value of the
eRegidrecord component
-
eKeytype
public byte[] eKeytype()Returns the value of theeKeytyperecord component.- Returns:
- the value of the
eKeytyperecord component
-
eIdent
public byte[] eIdent()Returns the value of theeIdentrecord component.- Returns:
- the value of the
eIdentrecord component
-
eSkeyId
public byte[] eSkeyId()Returns the value of theeSkeyIdrecord component.- Returns:
- the value of the
eSkeyIdrecord component
-
eSkeyVal
public byte[] eSkeyVal()Returns the value of theeSkeyValrecord component.- Returns:
- the value of the
eSkeyValrecord component
-
eSkeySig
public byte[] eSkeySig()Returns the value of theeSkeySigrecord component.- Returns:
- the value of the
eSkeySigrecord component
-
buildHash
public byte[] buildHash()Returns the value of thebuildHashrecord component.- Returns:
- the value of the
buildHashrecord component
-
companionProps
public byte[] companionProps()Returns the value of thecompanionPropsrecord component.- Returns:
- the value of the
companionPropsrecord component
-