class IOSConfigProfile::EncryptedPayload

Public Class Methods

new(payload) click to toggle source
Calls superclass method
# File lib/ios_config_profile/encrypted_payload.rb, line 3
def initialize(payload)
  super()
  self.payload = payload.to_plist
end

Public Instance Methods

encrypted_configuration(p7sign_certificates) click to toggle source

Encrypts the profile, wraps it into configuration profile and signs it

# File lib/ios_config_profile/encrypted_payload.rb, line 9
def encrypted_configuration(p7sign_certificates)
  encrypted_profile = encrypt p7sign_certificates
  configuration encrypted_profile.certificate
end