POST api/WidevineProtectionInfo

Returns protection info using Google's Widevine key exchange protocol.

Request Information

URI Parameters

None.

Body Parameters

The protection info request (signed request).

WidevineProtectionInfoRequest
NameDescriptionTypeAdditional information
request

The actual request message (the binary representation of JSON encoded using UTF-8).

Collection of byte

Required

Min length: 1

signer

The identifier of the entity that signed the request message.

string

Required

Min length: 1

signature

The AES encrypted SHA-1 hash of the request message. The encryption is done using a 128-bit encryption key, the CBC mode, and the PKCS#7 padding.

Collection of byte

Required

Max length: 32

Min length: 32

Request Formats

application/json, text/json

Sample:
{
  "request": "QEA=",
  "signer": "sample string 1",
  "signature": "QEA="
}

Response Information

Resource Description

WidevineProtectionInfoResponse
NameDescriptionTypeAdditional information
response

The actual response message (the binary representation of JSON encoded using UTF-8).

Collection of byte

Required

Status Codes

All HTTP status codes must be expected, but the following status codes are the most probable:

  • OK (200) - The response is returned. See the response body to know the actual response status code.
  • BadRequest (400) - The request is invalid.
  • Forbidden (403) - A key seed is not found, which is needed to generate content keys.

Response Formats

application/json, text/json

Sample:
{
  "response": "QEA="
}