Reference application user interface
Application launch screen
The following User Interface is displayed when the reference application is launched for the iOS/tvOS target. For convenience, the required text input fields are pre-filled with a set of test data.
Get license keys
When the Get License button is pressed, the device is internally authenticated (if it is not already authenticated). The license keys are obtained from the DAS server through the API Gateway server and imported into the device.
This reference application has replicated the API Gateway server using predefined test session keys. If the session keys can be imported successfully, the Import status, Instance ID and Model id will be displayed.
Encryption
When Encrypt button is pressed, the data in the Input Buffer text field is encrypted, and the encrypted data will be displayed in the Output text field.
Decryption
Pressing the Decrypt button takes the output of the encrypt operation as input data (from Output text field) for the decrypt operation, sets this input data to the Input Buffer text field and sets the output of decrypt operation in the Output text field.
Sign
The Sign operation only works on the original data in the Input Buffer text field. When the Sign button is pressed, the signed data is generated and displayed in the Output Text Field.
Verify
The Verify operation works on the original data in the Input Buffer text field and the output of the Sign operation as the signature. When the Verify button is pressed, the data is verified, and the result is displayed in the Output Text Field. The expected outcome for a successful verify operation is OK.