class Encryption
Defined at line 83 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
The stream format details payload of a decrypting stream processor. This is
a sparsely populated table to specify parameters necessary for decryption
other than the data stream. It is only necessary to update fields if they
changed, but not an error if the same value is repeated.
Public Methods
void Encryption ()
Defined at line 85 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
void Encryption (const Encryption & other)
Defined at line 86 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
Encryption & operator= (const Encryption & other)
Defined at line 87 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
void Encryption (Encryption && other)
Defined at line 88 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_drm::wire::Encryption> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_drm::wire::Encryption> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_drm::wire::Encryption>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
Encryption & operator= (Encryption && other)
Defined at line 89 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
::fidl::StringView & scheme ()
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.
bool has_scheme ()
::fidl::VectorView<uint8_t> & default_key_id ()
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.
bool has_default_key_id ()
::fidl::VectorView<uint8_t> & default_init_vector ()
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.
bool has_default_init_vector ()
::fuchsia_drm::wire::EncryptionPattern & default_pattern ()
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.
bool has_default_pattern ()
void ~Encryption ()
Defined at line 91 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder