PCKYCManager
Works with PC KYC-Connector — a server component to perform the remote identification of the client before creating the key.
-
The opened KYC sessions
-
Creates and start session to interact with KYC-Connector using configuration from JSON
Includes following steps:
- Key pair generation
- Registration of public key
- Saving received session ID for further interaction
-
Creates and start session to interact with KYC-Connector
Includes following steps:
- Key pair generation
- Registration of public key
- Saving received session ID for further interaction
-
Closes the session and removes all it data
-
Retrieves the current status of the session
-
Gets required sources from server which must be uploaded again to succeed OCR
-
Uploads the media of specified type to the server in order to perform an analysis
-
Uploads the media of specified type to the server in order to perform an analysis
-
Gets results of OCR procedure. If OCR is done successfully, the results are returned as a raw string. Its content depends on the type of enabled analyser
-
Approves results of OCR. Supposed to be called after OCR is successful and user is shown the way their documents were processed
-
Declined results of OCR. Supposed to be called after OCR is successful and user is shown the way their documents were processed
-
Retrieves a PC key from server and returns
PCUser
object ready to be used in the app. This function is supposed to be called only when the session reaches statusPCKYCSessionStatus.analysedSuccessfully