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 Manual synchronization introduced in RSA Authentication Manager 8.2 Service Pack 1 patch 6 Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory How to verify NTP server synchronization is not working in RSA Authentication Manager 8.x RSA Governance & Lifecycle 8.0.0 Installation Guide
Don't see what you're looking for?