16 Commits

Author SHA1 Message Date
Ramji Chandramouli
6d34128391 Should not expose proto headers in public SDK headers and not include absl
mutex.h in public SDK headers.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=249330673
2019-05-21 14:55:30 -07:00
Ramji Chandramouli
be0bb27305 CAS Proxy SDK git checkin as per g3doc.
Adds support for specifying service type when creating a service certificate.

A recent change to the SDK allows for service certificates (DrmCertificate) to also specify a ServiceType indicating which type of service they are supposed to be used on.  This CL adds certificate creation service support for this.

-------------
Fix typo in cas proxy SDK.

-------------
Migrate C++ proto_library rules to cc_proto_library.

We update dependency edges of cc_* rules on proto_library() rules to use a cc_proto_library() intermediary in preparation for eliminating proto_library()'s cc support as per []

More information: []

Tested:
    TAP --sample for global presubmit queue
    []

-------------
Migrate cc proto_library to cc_proto_library. Also fixes build break introduced by []

-------------
Remove unnecessary #MOE directives

-------------
[Proxy_SDK] Move generateSignature in WvPLSDKEnvironment to signature_util.cc file.

-------------
[SDK]Add service_certificate type check in WVPL LSDK and PROXY SDK.

-------------
[Proxy_SDK] Add new API to get remote_attestation_cert_serial_number for proxy SDK.

-------------
[Proxy_SDK] Add getDrmDeviceId function

-------------
[Proxy_SDK] add getrequesttype function for proxy sdk

-------------
[SDK] Add videoFeature field to WvPLWidevinePsshData in WvPLWidevine.java and wvpl_type.h. Related to []

-------------
Allow specified devices to request licenses even if these devices are in TEST_ONLY state.
This will also override the global setting of TEST_ONLY devices not being allowed to
successfully receive licenses from Widevine License SDK.

-------------
[Proxy_SDK] Add ParseDCSL function and test case.

-------------
[Proxy_SDK] Return non-ok status for service_certificate_request when create proxy sdk session. Add test case in Java test.

-------------
[Proxy_SDK] Add video_feature parsing in GetPsshData function. Also check video_feature when geneateModularDrmLicenseRequest.

-------------
[SDK]Deprecated message_type() function, use request_type() instead.

-------------
Use JDK instead of JRE

The concept of a JRE is going away in JDK 11. The jre/ subdirectory in the JDK will no longer exist and the :jre targets will no longer make sense.

Currently in JDK 8, the JDK is a superset of the JRE (it contains all of the files in the JRE), so this is a safe change.

Tested:
    TAP found no affected targets
    []

-------------
Renaming WvPLSDKSession.request_type() API.
Added LICENSE_TYPE_UNSPECIFIED enumeration to WvPLLicenseType.

-------------
Additional VLOG messaging for licensing with TEST_ONLY devices.

-------------
Remove forward declarations of absl names. The style guide bans this, and those names are not for external users to redeclare. External users should include the public headers instead.

-------------
Change Kokoro to use latest bazel version

-------------
Update the abseil build to the December 18 release.

This fixes a problem where the MOE build is failing because there was no definition for node_hash_map.

-------------
[CAS_Proxy]Add WvPLCASProxyEnvironmentJNI.cc and com_google_video_widevine_sdk_wvpl_WvPLCASProxyEnvironment.h file to implement JNI layer for WvPLCASProxyEnvironment.

-------------
Apply changes to sdk to match device certificate status list updates.

Cleans up some of the protos we're using for the new SignedDeviceInfo. Also, adjusts the sdk implementation to reflect the proto and service changes.

-------------
[CAS_PROXY]Add WvPLCASProxyEnvironment.java, WvPLCASProxySession.java and WvPLCASProxyTest.java file.

-------------
Add API to return the DRM service certificate by provider.

-------------
[CAS_PROXY]Implement SetDrmServiceCertificate and SetDeviceCertificateStatusList JNI layer.

-------------
Get DeviceInfo from request.

-------------
CAS Proxy SDK updated to 1.1.5.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=248640225
2019-05-21 11:12:56 -07:00
Ramji Chandramouli
74b7f405c8 Update example so that partner can have a working example of
* creating and initializing WvPLCASProxyEnvironment.
* creating WvPLCASProxySession.
* generating a license request to send to WLS.

Bumped version update to 1.1.3.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=232586603
2019-02-05 20:07:52 -05:00
Ramji Chandramouli
8397ada455 Fixed
- 'example' deps.
- exposing 'internal' include files in external headers.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=232572457
2019-02-05 18:44:29 -05:00
Ramji Chandramouli
356eec9f32 Adds --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=1" to 'bazel build' command in moe_test.sh.
This flag also added to
[]
and
[]

-------------
CASDrmLicenseRequest at the proxy.

-------------
CAS Proxy SDK version update to 1.1.2.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=231988012
2019-02-01 17:12:31 -05:00
Fang Yu
1a4cad05a2 Add a function named has_encrypted_client_id() check.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=231629247
2019-01-30 14:45:37 -08:00
Fang Yu
f234dd036d Add "copts = PUBLIC_COPTS" option
-------------
Use forward declaration in wvpl_sdk_session.h

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=227753690
2019-01-03 14:51:14 -08:00
Fang Yu
ed36938c81 Add a cc_library libwvpl_cas_proxy target.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=227702338
2019-01-03 09:46:40 -08:00
Fang Yu
10717f84d4 Forward declaration of DrmRootCertificate.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=227608878
2019-01-02 17:34:53 -08:00
Fang Yu
79f14e6e0b Fix media_cas_proxy_sdk build issue.
Add example binary for testing building the SDK after 'git clone' from our repo.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=227583629
2019-01-02 14:51:34 -08:00
Ramji Chandramouli
a991e2dbb3 Automated g4 rollback
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=224206719
2018-12-11 10:52:45 -08:00
Fang Yu
a864b89613 Move testing file which contains
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=221487408
2018-12-11 10:52:16 -08:00
Ramji Chandramouli
7f649cf826 Rollback
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=224206719
2018-12-11 10:52:01 -08:00
Fang Yu
df7566c0c1 Move testing file which contains keysmith response.
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=221487408
2018-12-11 10:51:55 -08:00
Fang Yu
5031d1bc6f Export media_cas_proxy_sdk 2018-12-11 10:51:52 -08:00
Fang Yu
6d0d9d825c Initial empty repository 2018-11-14 08:58:44 -08:00