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

org.whispersystems.signalservice.api.crypto.UnidentifiedAccessPair Maven / Gradle / Ivy

There is a newer version: 2.15.3
Show newest version
package org.whispersystems.signalservice.api.crypto;


import org.whispersystems.libsignal.util.guava.Optional;

public class UnidentifiedAccessPair {

  private final Optional targetUnidentifiedAccess;
  private final Optional selfUnidentifiedAccess;

  public UnidentifiedAccessPair(UnidentifiedAccess targetUnidentifiedAccess, UnidentifiedAccess selfUnidentifiedAccess) {
    this.targetUnidentifiedAccess = Optional.of(targetUnidentifiedAccess);
    this.selfUnidentifiedAccess   = Optional.of(selfUnidentifiedAccess);
  }

  public Optional getTargetUnidentifiedAccess() {
    return targetUnidentifiedAccess;
  }

  public Optional getSelfUnidentifiedAccess() {
    return selfUnidentifiedAccess;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy