All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.auties.whatsapp.model.signal.auth.CompanionData Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package it.auties.whatsapp.model.signal.auth;

import it.auties.protobuf.base.ProtobufMessage;
import it.auties.protobuf.base.ProtobufName;
import it.auties.protobuf.base.ProtobufProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.jackson.Jacksonized;

import static it.auties.protobuf.base.ProtobufType.BYTES;

@AllArgsConstructor
@Data
@Builder
@Jacksonized
@Accessors(fluent = true)
@ProtobufName("DevicePairingRegistrationData")
public class CompanionData implements ProtobufMessage {
    @ProtobufProperty(index = 1, type = BYTES)
    private byte[] id;

    @ProtobufProperty(index = 2, type = BYTES)
    private byte[] keyType;

    @ProtobufProperty(index = 3, type = BYTES)
    private byte[] identifier;

    @ProtobufProperty(index = 4, type = BYTES)
    private byte[] signatureId;

    @ProtobufProperty(index = 5, type = BYTES)
    private byte[] signaturePublicKey;

    @ProtobufProperty(index = 6, type = BYTES)
    private byte[] signature;

    @ProtobufProperty(index = 7, type = BYTES)
    private byte[] buildHash;

    @ProtobufProperty(index = 8, type = BYTES)
    private byte[] companion;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy