processEncryptedData

Hi,
I am receiving the binary format of encrypted and signed file. It is failing decrypt. If i use Base64 format it is working fine. we are using webMethods 4.0 version. Is there any way to convert the binary format data to base64 format? How we can trace the errors in decrypting? Is there any limitation to process the binary encrypted data file�

Thanks in advance