Want to encrypt without getting Base64 encoded result
Originally Published: 2007-09-13
Last Modified: 2023-09-25
Article Number
Applies To
Issue
How to use the Key Manager Client's Java API to encrypt data such that the encrypted data returned is not in Base64 encoding.
Resolution
In the encryptData() method,
public byte[] encryptData(java.lang.String keyClass,
byte[] inputData,
boolean base64Encode)
the last argument is a boolean indicating base64encode. So, if you set it to false, you won't get Base64 encoded data back (you'll get the encrypted data back in binary form).
Related Articles
Want to pass a configuration file to the FIM 3.0 / 3.1 Bulk Federation Utility 7Number of Views customer wants to give analysts role to be able to view and operate app rules on Decoder 2Number of Views Delete Backups 16Number of Views RSA AM 8.x What to do if you want to change Client Reponse Delay on RADIUS Server 165Number of Views SonicWall SonicOS - RADIUS Configuration for Authentication Manager - RSA Ready Implementation Guide 31Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Troubleshooting AFX Connector issues in RSA Identity Governance & Lifecycle Authentication Manager Security Console and Operations Console Inaccessible After Certificate Update How to Forward RSA Authentication Manager 8.4 or Later Logs to Multiple Syslog Servers Using rsyslog RSA Authentication Manager 8.9 Patches and Hotfixes Readme
Don't see what you're looking for?