Reading iPhone UDID through Safari
<p>I am trying to read iPhone UDID through Safari browser and below address is a manual how to make it hapeen.</p>

<p><a href="http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/profile-service/profile-service.html#//apple_ref/doc/uid/TP40009505-CH2-SW26" rel="nofollow">http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/profile-service/profile-service.html#//apple_ref/doc/uid/TP40009505-CH2-SW26</a></p>

<p>I thought I should use some kind of PHP but, the language that they describe is not PHP.</p>

<p>here is the one of the codes.</p>

<pre><code>world.mount_proc("/enroll") { |req, res|
HTTPAuth.basic_auth(req, res, "realm") {|user, password|
    user == 'apple' &amp;&amp; password == 'apple'
}

res['Content-Type'] = "application/x-apple-aspen-config"
configuration = profile_service_payload(req, "signed-auth-token")
signed_profile = OpenSSL::PKCS7.sign(@@ssl_cert, @@ssl_key, 
        configuration, [], OpenSSL::PKCS7::BINARY)
res.body = signed_profile.to_der

}
</code></pre>

<p>I have no idea what kind of language is this.</p>

<p>Can you tell me what it is?</p>
