Sha256: aab837203f66b3124aebb63223d8ed64d40b3174e24959555ce661fe274cb13d

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

module IOSConfigProfile
  class EncryptedPayload < IOSCertEnrollment::Profile
    def initialize(payload)
      super()
      self.payload = payload.to_plist
    end

    # Encrypts the profile, wraps it into configuration profile and signs it
    def encrypted_configuration(p7sign_certificates)
      encrypted_profile = encrypt p7sign_certificates
      configuration encrypted_profile.certificate
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ios_config_profile-1.4.1 lib/ios_config_profile/encrypted_payload.rb
ios_config_profile-1.4.0 lib/ios_config_profile/encrypted_payload.rb
ios_config_profile-1.3.0 lib/ios_config_profile/encrypted_payload.rb