Package com.aresstack.keepassrpc.pairing
Class KeePassRpcPairingResult
java.lang.Object
com.aresstack.keepassrpc.pairing.KeePassRpcPairingResult
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 Summary
ConstructorsConstructorDescriptionKeePassRpcPairingResult(KeePassRpcEndpoint endpoint, String origin, String clientId, String srpKey) Create a pairing result. -
Method Summary
Modifier and TypeMethodDescriptionReturn the 64-character session key that should be persisted for future KCR 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 requestorigin- WebSocket origin used during pairingclientId- KeePassRPC client identifiersrpKey- reusable SRP key to persist
-
-
Method Details
-
getEndpoint
-
getOrigin
-
getClientId
-
getSrpKey
Return the 64-character session key that should be persisted for future KCR authentication.
-