Class KeePassRpcPairingDialog

java.lang.Object
com.aresstack.keepassrpc.client.KeePassRpcPairingDialog

public final class KeePassRpcPairingDialog extends Object
Optional Swing dialog for KeePassRPC pairing.

New code should prefer DefaultKeePassRpcPairingService directly and use this dialog only as a Swing adapter. The dialog starts the pairing session, asks the user for the one-time key shown by KeePass, delegates completion to the pairing service, and persists the resulting SRP key through a settings repository.

  • Method Details

    • showAndPair

      public static String showAndPair()
      Show the pairing dialog and return the validated SRP key. If the user cancels or pairing fails, returns null.
    • showAndPair

      public static String showAndPair(KeePassRpcSettingsRepository repository)