WvPL License SDK release: 17.0.1 updated cc_header files.
This commit is contained in:
@@ -58,9 +58,9 @@ class EnvironmentImpl {
|
||||
void SetPreProvisioningKeys(const std::multimap<uint32_t, std::string>& keys);
|
||||
|
||||
Status AddDrmServiceCertificate(
|
||||
const std::string& service_certificate,
|
||||
const std::string& service_private_key,
|
||||
const std::string& service_private_key_passphrase);
|
||||
absl::string_view service_certificate,
|
||||
absl::string_view service_private_key,
|
||||
absl::string_view service_private_key_passphrase);
|
||||
|
||||
// Returns true if service certificate is loaded.
|
||||
bool is_service_certificate_loaded();
|
||||
@@ -70,7 +70,7 @@ class EnvironmentImpl {
|
||||
// certificate_status_list expires after its creation time
|
||||
// (creation_time_seconds). If |allow_unknown_devices| is false, an error is
|
||||
// returned if the device does not appear in the certificate_status_list.
|
||||
Status SetCertificateStatusList(const std::string& certificate_status_list,
|
||||
Status SetCertificateStatusList(absl::string_view certificate_status_list,
|
||||
uint32_t expiration_period_seconds,
|
||||
bool allow_unknown_devices);
|
||||
|
||||
@@ -83,27 +83,27 @@ class EnvironmentImpl {
|
||||
// |device_list_make| is a comma separated list of devices to allow even
|
||||
// if the device is in a TEST_ONLY state. This list wil be used only if
|
||||
// AllowDevelopmentClient(false) is in use.
|
||||
void AllowTestOnlyDevicesByMake(const std::string& device_list_make);
|
||||
void AllowTestOnlyDevicesByMake(absl::string_view device_list_make);
|
||||
|
||||
// Enable delivery of licenses to TEST_ONLY client devices.
|
||||
// |device_list_provider| is a comma separated list of providers to allow
|
||||
// even if the device is in a TEST_ONLY state. This list wil be used only if
|
||||
// AllowDevelopmentClient(false) is in use.
|
||||
void AllowTestOnlyDevicesByProvider(const std::string& device_list_provider);
|
||||
void AllowTestOnlyDevicesByProvider(absl::string_view device_list_provider);
|
||||
|
||||
// Enable delivery of licenses to revoked client devices. |system_id_list| is
|
||||
// a comma separated list of systems Ids to allow even if the device is in the
|
||||
// revoked state.
|
||||
void AllowRevokedDevices(const std::string& system_id_list);
|
||||
void AllowRevokedDevices(absl::string_view system_id_list);
|
||||
|
||||
// A comma separated list of DRM Certificate Serial Numbers that are revoked.
|
||||
void RevokedDrmCertificateSerialNumbers(
|
||||
const std::string& drm_certificate_serial_numbers);
|
||||
absl::string_view drm_certificate_serial_numbers);
|
||||
|
||||
// Restriction on core message features. If this is an empty string, the
|
||||
// default feature set is used. If it is an integer, that is the ODK version
|
||||
// supported.
|
||||
void SetCoreMessageFeatures(const std::string& core_message_features);
|
||||
void SetCoreMessageFeatures(absl::string_view core_message_features);
|
||||
|
||||
// Generates a SignedMessage containing a message generated in response to
|
||||
// an error condition. |status| is a previous error status returned by the
|
||||
@@ -118,7 +118,7 @@ class EnvironmentImpl {
|
||||
// Generates a SignedMessage containing a service certifcate for the specified
|
||||
// |provider|. Returns false if |provider| does not exist. Returns the
|
||||
// default service certificate if |provider| is empty.
|
||||
bool GenerateServiceCertificateResponse(const std::string& provider,
|
||||
bool GenerateServiceCertificateResponse(absl::string_view provider,
|
||||
std::string* signed_message_bytes);
|
||||
|
||||
// DeriveKey uses the NIST 800-108 KDF recommendation, using AES-CMAC PRF.
|
||||
@@ -126,8 +126,8 @@ class EnvironmentImpl {
|
||||
// http://csrc.nist.gov/publications/nistpubs/800-108/sp800-108.pdf
|
||||
// AES-CMAC:
|
||||
// http://tools.ietf.org/html/rfc4493
|
||||
std::string DeriveKey(const std::string& key, const std::string& label,
|
||||
const std::string& context, const uint32_t size_bits);
|
||||
std::string DeriveKey(absl::string_view key, absl::string_view label,
|
||||
absl::string_view context, const uint32_t size_bits);
|
||||
|
||||
// Returns a std::string containing the Widevine License Server SDK version in the
|
||||
// form <major_version>.<minor_version>.<release> <build date> <build time> .
|
||||
@@ -147,7 +147,7 @@ class EnvironmentImpl {
|
||||
// version is not empty, then the server version will be included in the
|
||||
// license response. The host_version must be <= 32 characters and limited to
|
||||
// alphanumeric and '_', '-', ':', ';'and '.'.
|
||||
bool SetHostServerVersion(const std::string& host_version);
|
||||
bool SetHostServerVersion(absl::string_view host_version);
|
||||
|
||||
void SetDefaultDeviceSecurityProfileList(SecurityProfileList* profile_list);
|
||||
|
||||
@@ -182,7 +182,7 @@ class EnvironmentImpl {
|
||||
// the Key Control Block which is used by partner. Otherwise, only 'kctl' or
|
||||
// 'kc09' is returned in KCB.
|
||||
void SetDevicesToHandleOEMCryptoVersionInKCB(
|
||||
const std::string& system_id_list);
|
||||
absl::string_view system_id_list);
|
||||
|
||||
// Return drm root certificate pointer.
|
||||
const DrmRootCertificate* drm_root_certificate() const;
|
||||
@@ -216,7 +216,7 @@ class EnvironmentImpl {
|
||||
// message. Return OK if parsing is successful, otherwise an error is
|
||||
// returned.
|
||||
virtual Status SetProviderKeyConfig(
|
||||
const std::string& provider_key_config_bytes);
|
||||
absl::string_view provider_key_config_bytes);
|
||||
|
||||
// Returns the provider key config.
|
||||
virtual const ProviderKeyConfig& GetProviderKeyConfig() const {
|
||||
|
||||
Reference in New Issue
Block a user