class AltsTsiHandshaker implements TsiHandshaker {

  @Override
  public Object extractPeerObject() throws GeneralSecurityException {
    Preconditions.checkState(!isInProgress(), "Handshake is not complete.");
    return new AltsAuthContext(handshaker.getResult());
  }

  private  AltsTsiHandshaker(
      boolean isClient, HandshakerServiceStub stub, AltsHandshakerOptions options);
  @VisibleForTesting  AltsTsiHandshaker(boolean isClient, AltsHandshakerClient handshaker);

}