Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
public final class: RC2Cipher [javadoc | source]
java.lang.Object
   javax.crypto.CipherSpi
      com.sun.crypto.provider.RC2Cipher
JCE CipherSpi for the RC2(tm) algorithm as described in RFC 2268. The real code is in CipherCore and RC2Crypt.
Constructor:
 public RC2Cipher() 
Method from com.sun.crypto.provider.RC2Cipher Summary:
engineDoFinal,   engineDoFinal,   engineGetBlockSize,   engineGetIV,   engineGetKeySize,   engineGetOutputSize,   engineGetParameters,   engineInit,   engineInit,   engineInit,   engineSetMode,   engineSetPadding,   engineUnwrap,   engineUpdate,   engineUpdate,   engineWrap
Methods from javax.crypto.CipherSpi:
a,   engineDoFinal,   engineDoFinal,   engineDoFinal,   engineGetBlockSize,   engineGetIV,   engineGetKeySize,   engineGetOutputSize,   engineGetParameters,   engineInit,   engineInit,   engineInit,   engineSetMode,   engineSetPadding,   engineUnwrap,   engineUpdate,   engineUpdate,   engineUpdate,   engineWrap
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.RC2Cipher Detail:
 protected byte[] engineDoFinal(byte[] in,
    int inOfs,
    int inLen) throws IllegalBlockSizeException, BadPaddingException 
 protected int engineDoFinal(byte[] in,
    int inOfs,
    int inLen,
    byte[] out,
    int outOfs) throws IllegalBlockSizeException, ShortBufferException, BadPaddingException 
 protected int engineGetBlockSize() 
 protected byte[] engineGetIV() 
 protected int engineGetKeySize(Key key) throws InvalidKeyException 
 protected int engineGetOutputSize(int inputLen) 
 protected AlgorithmParameters engineGetParameters() 
 protected  void engineInit(int opmode,
    Key key,
    SecureRandom random) throws InvalidKeyException 
 protected  void engineInit(int opmode,
    Key key,
    AlgorithmParameterSpec params,
    SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException 
 protected  void engineInit(int opmode,
    Key key,
    AlgorithmParameters params,
    SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException 
 protected  void engineSetMode(String mode) throws NoSuchAlgorithmException 
 protected  void engineSetPadding(String paddingScheme) throws NoSuchPaddingException 
 protected Key engineUnwrap(byte[] wrappedKey,
    String wrappedKeyAlgorithm,
    int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException 
 protected byte[] engineUpdate(byte[] in,
    int inOfs,
    int inLen) 
 protected int engineUpdate(byte[] in,
    int inOfs,
    int inLen,
    byte[] out,
    int outOfs) throws ShortBufferException 
 protected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException