Package org.identityconnectors.common
Class Base64
java.lang.Object
org.identityconnectors.common.Base64
Utility package for base64 encoding and decoding.
- Since:
- 1.0
-
Method Summary
-
Method Details
-
encode
Returns a String of base64-encoded characters to represent the specified data array.- Parameters:
data
- The array of bytes to encode.- Returns:
- A String containing base64-encoded characters.
-
decode
Decodes a specified base64-encoded String and returns the resulting bytes.- Parameters:
encdata
- A String containing base64-encoded characters.- Returns:
- The base64-decoded array of bytes.
-