From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

# Generated by default/object.tt
use Moose;
has ConstantInitializationVector => (is => 'ro', isa => 'Str', request_name => 'constantInitializationVector', traits => ['NameInRequest']);
has EncryptionMethod => (is => 'ro', isa => 'Str', request_name => 'encryptionMethod', traits => ['NameInRequest']);
has InitializationVectorInManifest => (is => 'ro', isa => 'Str', request_name => 'initializationVectorInManifest', traits => ['NameInRequest']);
has OfflineEncrypted => (is => 'ro', isa => 'Str', request_name => 'offlineEncrypted', traits => ['NameInRequest']);
has SpekeKeyProvider => (is => 'ro', isa => 'Paws::MediaConvert::SpekeKeyProvider', request_name => 'spekeKeyProvider', traits => ['NameInRequest']);
has StaticKeyProvider => (is => 'ro', isa => 'Paws::MediaConvert::StaticKeyProvider', request_name => 'staticKeyProvider', traits => ['NameInRequest']);
has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
1;
### main pod documentation begin ###
=head1 NAME
Paws::MediaConvert::HlsEncryptionSettings
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::MediaConvert::HlsEncryptionSettings object:
$service_obj->Method(Att1 => { ConstantInitializationVector => $value, ..., Type => $value });
=head3 Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::HlsEncryptionSettings object:
$result = $service_obj->Method(...);
$result->Att1->ConstantInitializationVector
=head1 DESCRIPTION
Settings for HLS encryption
=head1 ATTRIBUTES
=head2 ConstantInitializationVector => Str
This is a 128-bit, 16-byte hex value represented by a 32-character text
string. If this parameter is not set then the Initialization Vector
will follow the segment number by default.
=head2 EncryptionMethod => Str
Encrypts the segments with the given encryption scheme. Leave blank to
disable. Selecting 'Disabled' in the web interface also disables
encryption.
=head2 InitializationVectorInManifest => Str
The Initialization Vector is a 128-bit number used in conjunction with
the key for encrypting blocks. If set to INCLUDE, Initialization Vector
is listed in the manifest. Otherwise Initialization Vector is not in
the manifest.
=head2 OfflineEncrypted => Str
Enable this setting to insert the EXT-X-SESSION-KEY element into the
master playlist. This allows for offline Apple HLS FairPlay content
protection.
=head2 SpekeKeyProvider => L<Paws::MediaConvert::SpekeKeyProvider>
If your output group type is HLS, DASH, or Microsoft Smooth, use these
settings when doing DRM encryption with a SPEKE-compliant key provider.
If your output group type is CMAF, use the SpekeKeyProviderCmaf
settings instead.
=head2 StaticKeyProvider => L<Paws::MediaConvert::StaticKeyProvider>
Use these settings to set up encryption with a static key provider.
=head2 Type => Str
Specify whether your DRM encryption key is static or from a key
provider that follows the SPEKE standard. For more information about
SPEKE, see
=head1 SEE ALSO
This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut