FreeHEP API
Version current

org.freehep.util.io
Class EEXECEncryption

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.freehep.util.io.EEXECEncryption
All Implemented Interfaces:
EEXECConstants

public class EEXECEncryption
extends OutputStream
implements EEXECConstants

Encrypts using the EEXEC form (Used by Type 1 fonts).

Version:
$Id: EEXECEncryption.java,v 1.3 2001/10/29 14:07:06 duns Exp $
Author:
Simon Fischer
Source Code:
EEXECEncryption.java

Field Summary
 
Fields inherited from interface org.freehep.util.io.EEXECConstants
C1, C2, CHARSTRING_R, EEXEC_R, N
 
Constructor Summary
EEXECEncryption(OutputStream out)
           
EEXECEncryption(OutputStream out, int r)
           
EEXECEncryption(OutputStream out, int r, int n)
           
 
Method Summary
 void close()
           
static int[] encryptString(int[] chars, int r, int n)
           
 void flush()
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EEXECEncryption

public EEXECEncryption(OutputStream out)

EEXECEncryption

public EEXECEncryption(OutputStream out,
                       int r)

EEXECEncryption

public EEXECEncryption(OutputStream out,
                       int r,
                       int n)
Method Detail

write

public void write(int b)
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

encryptString

public static int[] encryptString(int[] chars,
                                  int r,
                                  int n)
                           throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.