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 2Number of Views RSA AM 8.x What to do if you want to change Client Reponse Delay on RADIUS Server 163Number of Views SonicWall SonicOS - RADIUS Configuration for Cloud Authentication Service - RSA Ready Implementation Guide 34Number of Views SonicWall SonicOS - RADIUS Configuration for Authentication Manager - RSA Ready Implementation Guide 27Number of Views
Trending Articles
Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide How to Download OTP Token Seed Files from myRSA RSA Authentication Manager 8.9 Release Notes (January 2026)
Don't see what you're looking for?