org.apache.fontbox.cff
public class Type1FontUtil extends Object
Version: $Revision$
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. |
Parameters: buffer the given encrypted data n blocksize?
Returns: the decrypted data
Parameters: buffer the given data n blocksize?
Returns: the encrypted data
Parameters: buffer the given encrypted data
Returns: the decrypted data
Parameters: buffer the given data
Returns: the encrypted data
Parameters: string the string representing the hex value
Returns: the hex value as byte array
Parameters: bytes the byte array
Returns: the string with the hex value