public final class Type1FontUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
charstringDecrypt(byte[] buffer,
int n)
Decrypt charstring.
|
static byte[] |
charstringEncrypt(byte[] buffer,
int n)
Encrypt charstring.
|
static byte[] |
eexecDecrypt(byte[] buffer)
Decrypt eexec.
|
static byte[] |
eexecEncrypt(byte[] buffer)
Encrypt eexec.
|
static byte[] |
hexDecode(java.lang.String string)
Converts a string representing a hex value into a byte array.
|
static java.lang.String |
hexEncode(byte[] bytes)
Converts a byte-array into a string with the corresponding hex value.
|
public static java.lang.String hexEncode(byte[] bytes)
bytes - the byte arraypublic static byte[] hexDecode(java.lang.String string)
string - the string representing the hex valuepublic static byte[] eexecEncrypt(byte[] buffer)
buffer - the given datapublic static byte[] charstringEncrypt(byte[] buffer,
int n)
buffer - the given datan - blocksize?public static byte[] eexecDecrypt(byte[] buffer)
buffer - the given encrypted datapublic static byte[] charstringDecrypt(byte[] buffer,
int n)
buffer - the given encrypted datan - blocksize?