* Constructing the encryption header
*/
+ // For some reason it's supposed to be inside an <atom:entry>
+ $xs->elementStart('entry', array('xmlns'=>'http://www.w3.org/2005/Atom'));
+
/**
* Choose an AES key and initialization vector, suitable for the
* aes-256-cbc cipher. I shall refer to this as the “inner key”
$xs->element('me:sig', null, $magic_env->getSignature());
$xs->elementEnd('me:env');
+ $xs->elementEnd('entry');
+
return false;
}