Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::EnvelopeEncryption
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::EnvelopeEncryption
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/envelope_encryption.rb
Overview
Class for EnvelopeEncryption encryption scheme
Instance Attribute Summary collapse
-
#clear_tracks ⇒ Array<TrackSelection>
encrypted.
-
#content_keys ⇒ StreamingPolicyContentKeys
for each encryption scheme and separate content keys for specific tracks.
-
#custom_key_acquisition_url_template ⇒ String
keys to end user players.
-
#enabled_protocols ⇒ EnabledProtocols
Representing supported protocols.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EnvelopeEncryption class as Ruby Hash.
Instance Attribute Details
#clear_tracks ⇒ Array<TrackSelection>
encrypted
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/envelope_encryption.rb', line 20 def clear_tracks @clear_tracks end |
#content_keys ⇒ StreamingPolicyContentKeys
for each encryption scheme and separate content keys for specific tracks
25 26 27 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/envelope_encryption.rb', line 25 def content_keys @content_keys end |
#custom_key_acquisition_url_template ⇒ String
keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are AlternativeMediaId, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and ContentKeyId, which is replaced with the value of identifier of the key being requested.
35 36 37 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/envelope_encryption.rb', line 35 def custom_key_acquisition_url_template @custom_key_acquisition_url_template end |
#enabled_protocols ⇒ EnabledProtocols
Returns Representing supported protocols.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/envelope_encryption.rb', line 16 def enabled_protocols @enabled_protocols end |
Class Method Details
.mapper ⇒ Object
Mapper for EnvelopeEncryption class as Ruby Hash. This will be used for serialization/deserialization.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/envelope_encryption.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnvelopeEncryption', type: { name: 'Composite', class_name: 'EnvelopeEncryption', model_properties: { enabled_protocols: { client_side_validation: true, required: false, serialized_name: 'enabledProtocols', type: { name: 'Composite', class_name: 'EnabledProtocols' } }, clear_tracks: { client_side_validation: true, required: false, serialized_name: 'clearTracks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { name: 'Composite', class_name: 'TrackSelection' } } } }, content_keys: { client_side_validation: true, required: false, serialized_name: 'contentKeys', type: { name: 'Composite', class_name: 'StreamingPolicyContentKeys' } }, custom_key_acquisition_url_template: { client_side_validation: true, required: false, serialized_name: 'customKeyAcquisitionUrlTemplate', type: { name: 'String' } } } } } end |