decrypt() expects a string, not an xmlenc.EncryptedData