|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fontbox.cff.Type1FontUtil
public class Type1FontUtil
This class contains some helper methods handling Type1-Fonts.
Method Summary | |
---|---|
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(String string)
Converts a string representing a hex value into a byte array. |
static String |
hexEncode(byte[] bytes)
Converts a byte-array into a string with the corresponding hex value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String hexEncode(byte[] bytes)
bytes
- the byte array
public static byte[] hexDecode(String string)
string
- the string representing the hex value
public static byte[] eexecEncrypt(byte[] buffer)
buffer
- the given data
public static byte[] charstringEncrypt(byte[] buffer, int n)
buffer
- the given datan
- blocksize?
public static byte[] eexecDecrypt(byte[] buffer)
buffer
- the given encrypted data
public static byte[] charstringDecrypt(byte[] buffer, int n)
buffer
- the given encrypted datan
- blocksize?
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |