DAS Web Client Demo Application
Point your browser to the demo application URL https://otvplayer.nagra.com/demo/dasc/web/release/5.3.0.1645020216/sample_application/ and load it.

Click the headings to expand and collapse the different sections to focus on the sections of relevance.
Initialization
Enter the Opvault and click Init. This will call dasWebSDK::init() method and will return a deviceUniqueId if the SDK can be initialized correctly.
Session Management
To create a new Session, click Open Session. This is done by calling the dasWebSDK::openSession() method and will return a Session ID that can be used in subsequent operations.
Challenge
To get a Challenge that will be needed to securely communicate with the backend, use Session ID. This is done by calling the dasWebSDK::getChallenge() method.
Authentication
You can now call the backend to authenticate the device. The exact backend URL is tenant-specific and will be provided by NAGRA.
An SSP Authorization is required to perform the request, the previously requested challenge is to be provided in the request.
The Authenticate call allows the backend to securely authenticate web-based clients, returning authenticating information to the calling device.
Key Exchange
The Secure Key Exchange call provides a set of secure keys to be used by the web-client application on the device.
License Import
The license provided by calling Secure Key Exchange can be ingested via the dasWebSDK::importLicense() method.
Prep for Encryption
The sample client application includes some code showing how an IV can be generated. This will be needed for the different crypto methods.












