Namespaces

Enumerations

enum class Error : uint32_t
Name Value Comments
TYPE 1u

An error that occurs when the client provides invalid parameter data to
the server, such as an invalid license response message.

NOT_SUPPORTED 2u

An error that occurs when a requested operation is not supported by the
CDM, such as a license generation request with an unknown initialization
data type.

INVALID_STATE 3u

An error that occurs when the CDM is not in a proper state to perform
the requested operation, such as calling
[`LicenseSession.GenerateLicenseRequest`] when the [`LicenseSession`]
has already started the license release process.

QUOTA_EXCEEDED 4u

An error that occurs when a requested action would exceed allowable
limits, such as attempting to load an already opened session.

INTERNAL 100u

An internal, unexpected error that is not actionable by the client.

NOT_PROVISIONED 101u

An error that occurs when the CDM is not usable because it requires
additional provisioning.

Standard error codes for DRM related protocols. Many of the error code names

originate from the [`W3C Encrypted Media Extensions`] specification to cover

common CDM exception cases.

[`W3C Encrypted Media Extensions`]:

https://www.w3.org/TR/encrypted-media

Defined at line 35 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

enum class LicenseSessionType : uint32_t
Name Value Comments
TEMPORARY 1u

A session for which the license, keys, and record of the session are not
persisted.

PERSISTENT_LICENSE 2u

A session for which the license, keys, and record of the session will be
persisted for offline use and can subsequently be loaded using
LoadSession().

Defined at line 72 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

enum class LicenseMessageType : uint32_t
Name Value
REQUEST 1u
RENEWAL 2u
RELEASE 3u

Defined at line 92 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

enum class KeyStatus : uint32_t
Name Value Comments
USABLE 0u

The key is currently usable for decryption.

EXPIRED 1u

The Key is no longer usable for decryption because it has expired.

RELEASED 2u

The Key is no longer usable for decryption, but is still known to the
CDM.

OUTPUT_RESTRICTED 3u

The Key has output restrictions that cannot currently be met and may be
unusable for decryption.

OUTPUT_DOWNSCALED 4u

The Key has output restrictions that cannot currently be met. The Key
may be usable for decryption with lower quality content.

STATUS_PENDING 5u

The Key is not yet known or usable for decryption.

INTERNAL_ERROR 6u

The Key is not usable for decryption because of an internal error.

Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

enum class Features : uint32_t
Name Value Comments
HARDWARE_CRYPTO 1u

All key management and crypto operations are performed in a hardware
based trusted execution environment. If not set, a software
implementation is used.

SECURE_OUTPUT 2u

Decrypted data can be written to hardware secure buffers.

Defined at line 168 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

enum class Requirement : uint32_t
Name Value
NOT_SUPPORTED 1u
OPTIONAL 2u
REQUIRED 3u

Defined at line 227 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

Records

Functions

  • zx_status_t Clone (::fuchsia::media::drm::Error value, ::fuchsia::media::drm::Error * result)

    Defined at line 64 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::media::drm::LicenseSessionType value, ::fuchsia::media::drm::LicenseSessionType * result)

    Defined at line 84 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::media::drm::LicenseMessageType value, ::fuchsia::media::drm::LicenseMessageType * result)

    Defined at line 101 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::media::drm::KeyStatus value, ::fuchsia::media::drm::KeyStatus * result)

    Defined at line 138 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • ::fuchsia::media::drm::Features operator| (::fuchsia::media::drm::Features _lhs, ::fuchsia::media::drm::Features _rhs)

    Defined at line 181 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • ::fuchsia::media::drm::Features & operator|= (::fuchsia::media::drm::Features & _lhs, ::fuchsia::media::drm::Features _rhs)

    Defined at line 186 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • ::fuchsia::media::drm::Features operator& (::fuchsia::media::drm::Features _lhs, ::fuchsia::media::drm::Features _rhs)

    Defined at line 192 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • ::fuchsia::media::drm::Features & operator&= (::fuchsia::media::drm::Features & _lhs, ::fuchsia::media::drm::Features _rhs)

    Defined at line 198 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • ::fuchsia::media::drm::Features operator^ (::fuchsia::media::drm::Features _lhs, ::fuchsia::media::drm::Features _rhs)

    Defined at line 204 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • ::fuchsia::media::drm::Features & operator^= (::fuchsia::media::drm::Features & _lhs, ::fuchsia::media::drm::Features _rhs)

    Defined at line 210 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • ::fuchsia::media::drm::Features operator~ (::fuchsia::media::drm::Features _value)

    Defined at line 216 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::media::drm::Features value, ::fuchsia::media::drm::Features * result)

    Defined at line 221 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::media::drm::Requirement value, ::fuchsia::media::drm::Requirement * result)

    Defined at line 236 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModuleSetServerCertificateRequest & _value, ::fuchsia::media::drm::ContentDecryptionModuleSetServerCertificateRequest * _result)

    Defined at line 480 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModule_SetServerCertificate_Response & _value, ::fuchsia::media::drm::ContentDecryptionModule_SetServerCertificate_Response * _result)

    Defined at line 510 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModuleCreateDecryptorRequest & _value, ::fuchsia::media::drm::ContentDecryptionModuleCreateDecryptorRequest * _result)

    Defined at line 535 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModuleGetSupportedEncryptionSchemesResponse & _value, ::fuchsia::media::drm::ContentDecryptionModuleGetSupportedEncryptionSchemesResponse * _result)

    Defined at line 558 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModule_SetServerCertificate_Result & value, ::fuchsia::media::drm::ContentDecryptionModule_SetServerCertificate_Result * result)

    Defined at line 667 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModuleCreateLicenseSessionRequest & _value, ::fuchsia::media::drm::ContentDecryptionModuleCreateLicenseSessionRequest * _result)

    Defined at line 700 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseMessage & _value, ::fuchsia::media::drm::LicenseMessage * _result)

    Defined at line 725 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseServerMessage & _value, ::fuchsia::media::drm::LicenseServerMessage * _result)

    Defined at line 748 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModuleGetKeyStatusForHdcpVersionResponse & _value, ::fuchsia::media::drm::ContentDecryptionModuleGetKeyStatusForHdcpVersionResponse * _result)

    Defined at line 771 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSession_GenerateLicenseRequest_Response & _value, ::fuchsia::media::drm::LicenseSession_GenerateLicenseRequest_Response * _result)

    Defined at line 910 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSession_GenerateLicenseRequest_Result & value, ::fuchsia::media::drm::LicenseSession_GenerateLicenseRequest_Result * result)

    Defined at line 1019 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSession_GenerateLicenseRelease_Response & _value, ::fuchsia::media::drm::LicenseSession_GenerateLicenseRelease_Response * _result)

    Defined at line 1049 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSession_GenerateLicenseRelease_Result & value, ::fuchsia::media::drm::LicenseSession_GenerateLicenseRelease_Result * result)

    Defined at line 1158 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSessionProcessLicenseResponseRequest & _value, ::fuchsia::media::drm::LicenseSessionProcessLicenseResponseRequest * _result)

    Defined at line 1181 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSession_ProcessLicenseResponse_Response & _value, ::fuchsia::media::drm::LicenseSession_ProcessLicenseResponse_Response * _result)

    Defined at line 1213 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSession_ProcessLicenseResponse_Result & value, ::fuchsia::media::drm::LicenseSession_ProcessLicenseResponse_Result * result)

    Defined at line 1322 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSessionCreateDecryptorRequest & _value, ::fuchsia::media::drm::LicenseSessionCreateDecryptorRequest * _result)

    Defined at line 1347 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSessionOnLicenseMessageGeneratedRequest & _value, ::fuchsia::media::drm::LicenseSessionOnLicenseMessageGeneratedRequest * _result)

    Defined at line 1368 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSessionOnKeyStatesChangedRequest & _value, ::fuchsia::media::drm::LicenseSessionOnKeyStatesChangedRequest * _result)

    Defined at line 1391 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ProvisioningRequest & _value, ::fuchsia::media::drm::ProvisioningRequest * _result)

    Defined at line 1653 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ProvisioningResponse & _value, ::fuchsia::media::drm::ProvisioningResponse * _result)

    Defined at line 1681 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ProvisioningFetcherFetchRequest & _value, ::fuchsia::media::drm::ProvisioningFetcherFetchRequest * _result)

    Defined at line 1702 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ProvisioningFetcherFetchResponse & _value, ::fuchsia::media::drm::ProvisioningFetcherFetchResponse * _result)

    Defined at line 1723 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::KeySystemGetPropertiesResponse & _value, ::fuchsia::media::drm::KeySystemGetPropertiesResponse * _result)

    Defined at line 1779 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::KeySystem_AddDataStore_Response & _value, ::fuchsia::media::drm::KeySystem_AddDataStore_Response * _result)

    Defined at line 1809 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::KeySystem_AddDataStore_Result & value, ::fuchsia::media::drm::KeySystem_AddDataStore_Result * result)

    Defined at line 1918 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::KeySystemDestroyDataStoreAndConfirmRequest & _value, ::fuchsia::media::drm::KeySystemDestroyDataStoreAndConfirmRequest * _result)

    Defined at line 1939 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::KeySystemCreateContentDecryptionModule2Request & _value, ::fuchsia::media::drm::KeySystemCreateContentDecryptionModule2Request * _result)

    Defined at line 1964 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::KeySystemAddDataStoreRequest & _value, ::fuchsia::media::drm::KeySystemAddDataStoreRequest * _result)

    Defined at line 2144 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModuleCreateLicenseSessionResponse & _value, ::fuchsia::media::drm::ContentDecryptionModuleCreateLicenseSessionResponse * _result)

    Defined at line 2402 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModuleLoadLicenseSessionRequest & _value, ::fuchsia::media::drm::ContentDecryptionModuleLoadLicenseSessionRequest * _result)

    Defined at line 2427 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseInitData & _value, ::fuchsia::media::drm::LicenseInitData * _result)

    Defined at line 2457 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::LicenseSessionGenerateLicenseRequestRequest & _value, ::fuchsia::media::drm::LicenseSessionGenerateLicenseRequestRequest * _result)

    Defined at line 2478 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::media::drm::ContentDecryptionModuleGetKeyStatusForHdcpVersionRequest & _value, ::fuchsia::media::drm::ContentDecryptionModuleGetKeyStatusForHdcpVersionRequest * _result)

    Defined at line 2596 of file fidling/gen/sdk/fidl/fuchsia.media.drm/fuchsia.media.drm/hlcpp/fuchsia/media/drm/cpp/fidl.h

Variables

const char * LICENSE_INIT_DATA_TYPE_CENC
const char * LICENSE_INIT_DATA_TYPE_HLS
const char * LICENSE_INIT_DATA_TYPE_KEYIDS
const char * LICENSE_INIT_DATA_TYPE_WEBM