Want to encrypt without getting Base64 encoded result
Originally Published: 2007-09-13
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 1Number of Views RSA AM 8.x What to do if you want to change Client Reponse Delay on RADIUS Server 162Number of Views Delete Backups 15Number of Views RSA SecurID Access Free Trial SonicWall Global VPN Guide 78Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.9 Release Notes (January 2026) An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?