anon.client.crypto
Interface IASymMixCipher

All Known Implementing Classes:
ASymMixCipherPlainRSA, ASymMixCipherRSAOAEP

public interface IASymMixCipher


Method Summary
 int encrypt(byte[] from, int ifrom, byte[] to, int ito)
           
 int getInputBlockSize()
           
 int getOutputBlockSize()
           
 int getPaddingSize()
           
 MyRSAPublicKey getPublicKey()
           
 int setPublicKey(java.math.BigInteger modulus, java.math.BigInteger exponent)
           
 int setPublicKey(org.w3c.dom.Element xmlKey)
           
 

Method Detail

encrypt

int encrypt(byte[] from,
            int ifrom,
            byte[] to,
            int ito)

getOutputBlockSize

int getOutputBlockSize()

getInputBlockSize

int getInputBlockSize()

getPaddingSize

int getPaddingSize()

setPublicKey

int setPublicKey(java.math.BigInteger modulus,
                 java.math.BigInteger exponent)

setPublicKey

int setPublicKey(org.w3c.dom.Element xmlKey)

getPublicKey

MyRSAPublicKey getPublicKey()