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

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

package it.auties.whatsapp.model.signal.auth;

public class SignedDeviceIdentityHMACBuilder {
    private byte[] details;
    private byte[] hmac;

    public SignedDeviceIdentityHMACBuilder() {
        details = null;
        hmac = null;
    }

    public SignedDeviceIdentityHMACBuilder details(byte[] details) {
        this.details = details;
        return this;
    }

    public SignedDeviceIdentityHMACBuilder hmac(byte[] hmac) {
        this.hmac = hmac;
        return this;
    }

    public it.auties.whatsapp.model.signal.auth.SignedDeviceIdentityHMAC build() {
        return new it.auties.whatsapp.model.signal.auth.SignedDeviceIdentityHMAC(details, hmac);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy