org.whispersystems.signalservice.api.crypto.UnidentifiedAccessPair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signal-service-java Show documentation
Show all versions of signal-service-java Show documentation
Signal Service communication library for Java
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;
}
}