Class KeePassRpcPairingResult

java.lang.Object
com.aresstack.keepassrpc.pairing.KeePassRpcPairingResult

public final class KeePassRpcPairingResult extends Object
Immutable result of a successful KeePassRPC pairing run.

The SRP key returned by getSrpKey() is the value an application should persist and reuse for future KeePassRPC authentication.

  • Constructor Details

    • KeePassRpcPairingResult

      public KeePassRpcPairingResult(KeePassRpcEndpoint endpoint, String origin, String clientId, String srpKey)
      Create a pairing result.
      Parameters:
      endpoint - endpoint that accepted the pairing request
      origin - WebSocket origin used during pairing
      clientId - KeePassRPC client identifier
      srpKey - reusable SRP key to persist
  • Method Details

    • getEndpoint

      public KeePassRpcEndpoint getEndpoint()
    • getOrigin

      public String getOrigin()
    • getClientId

      public String getClientId()
    • getSrpKey

      public String getSrpKey()
      Return the 64-character session key that should be persisted for future KCR authentication.