Example usage for Java org.apache.shiro.codec Base64 fields, constructors, methods, implement or subclass
The text is from its open source code.
byte[] | decode(String base64Encoded) Converts the specified UTF-8 Base64 encoded String and decodes it to a raw Base64 decoded byte array. |
byte[] | decode(byte[] base64Data) Decodes Base64 data into octets |
String | decodeToString(String base64Encoded) Converts the specified UTF-8 Base64 encoded String and decodes it to a resultant UTF-8 encoded string. |
String | decodeToString(byte[] base64Encoded) Decodes the specified Base64 encoded byte array and returns the decoded result as a UTF-8 encoded. |
byte[] | encode(byte[] pArray) Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet. |
String | encodeToString(byte[] bytes) Base64 encodes the specified byte array and then encodes it as a String using Shiro's preferred character encoding (UTF-8). |