Free.util
Class RSAPKCS1

java.lang.Object
  |
  +--Free.util.RSAPKCS1

public class RSAPKCS1
extends java.lang.Object


Constructor Summary
RSAPKCS1()
           
RSAPKCS1(java.security.SecureRandom random)
           
 
Method Summary
 byte[] crypt(byte[] in)
           
 byte[] crypt(byte[] in, int offset, int length)
           
 int getInputBlockSize()
           
 int getOutputBlockSize()
           
 int getState()
           
 void initDecrypt(java.security.Key key)
           
 void initEncrypt(java.security.Key key)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPKCS1

public RSAPKCS1(java.security.SecureRandom random)

RSAPKCS1

public RSAPKCS1()
Method Detail

crypt

public byte[] crypt(byte[] in,
                    int offset,
                    int length)

crypt

public byte[] crypt(byte[] in)

getState

public final int getState()

initEncrypt

public final void initEncrypt(java.security.Key key)
                       throws java.security.KeyException

initDecrypt

public final void initDecrypt(java.security.Key key)
                       throws java.security.KeyException

getInputBlockSize

public final int getInputBlockSize()

getOutputBlockSize

public final int getOutputBlockSize()