Class: Kaltura::KalturaFairplayEntryContextPluginData

Inherits:
KalturaPluginData show all
Defined in:
lib/kaltura_plugins/kaltura_fairplay_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#public_certificateObject

For fairplay (and maybe in the future other drm providers) we need to return a public certificate to encrypt the request from the player to the server.



49
50
51
# File 'lib/kaltura_plugins/kaltura_fairplay_client_plugin.rb', line 49

def public_certificate
  @public_certificate
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



52
53
54
55
56
57
# File 'lib/kaltura_plugins/kaltura_fairplay_client_plugin.rb', line 52

def from_xml(xml_element)
	super
	if xml_element.elements['publicCertificate'] != nil
		self.public_certificate = xml_element.elements['publicCertificate'].text
	end
end