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

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

The 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