template <>
class WireTableBuilder
Defined at line 348 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
Public Methods
template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_drm::wire::Encryption> & scheme (First && first, Args &&... args_)
Specifies which encryption scheme to use, such as `ENCRYPTION_SCHEME_CENC`.
Usage:
- It is required to be set prior to delivery of input packets.
- Changing the scheme mid-stream is only permitted in some scenarios.
Once an encrypted scheme is selected for a stream, the scheme may
only be set to `ENCRYPTION_SCHEME_UNENCRYPTED` or that
same initial encrypted scheme. The scheme may be set to
`ENCRYPTION_SCHEME_UNENCRYPTED` at any point.
Defined at line 367 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
template <typename First = ::fidl::VectorView<uint8_t>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<uint8_t>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_drm::wire::Encryption> & default_key_id (First && first, Args &&... args_)
Identifies the key that should be used for decrypting subsequent data.
Usage:
- It is required to be set prior to delivery of input packets to a
decryptor.
- This may be changed multiple times during a data stream.
Defined at line 383 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
template <typename First = ::fidl::VectorView<uint8_t>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<uint8_t>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_drm::wire::Encryption> & default_init_vector (First && first, Args &&... args_)
Used in combination with a key and a block of content
to create the first cipher block in a chain and derive subsequent cipher
blocks in a cipher block chain.
Usage:
- It is required to be set prior to the delivery of input packets to a
decryptor.
- This may be changed multiple times during a data stream.
Defined at line 401 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
template <typename First = ::fuchsia_drm::wire::EncryptionPattern, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_drm::wire::EncryptionPattern>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_drm::wire::Encryption> & default_pattern (First && first, Args &&... args_)
Used to identify the clear and encrypted blocks for pattern based encryption.
Usage:
- This is not allowed for CENC and CBC1 and required for CENS and CBCS.
- If required, it must be set prior to the delivery of input packets to
a decryptor.
- This may be changed multiple times during a data stream.
Defined at line 418 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
Friends
template <>
class Encryption