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 RSA AM 8.x What to do if you want to change Client Reponse Delay on RADIUS Server 165Number of Views Delete Backups 16Number of Views Configure Attribute Mappings for Identity Verification Providers 20Number of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Quick Setup Guide - Connect Authentication Manager to Cloud Authentication Service Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperrepor… RSA Authentication Manager 8.9 Patches and Hotfixes Readme
Don't see what you're looking for?