| java.lang.Object com.sun.midp.crypto.Cipher com.sun.midp.crypto.DES com.sun.midp.crypto.DESEDE
DESEDE | public class DESEDE extends DES (Code) | | DES EDE (Triple DES)cipher implementation.
|
setChainingModeAndPadding | protected void setChainingModeAndPadding(String mode, String padding) throws NoSuchPaddingException(Code) | | Called by the factory method to set the mode and padding parameters.
Need because Class.newInstance does not take args.
Parameters: mode - the mode parsed from the transformation parameter ofgetInstance Parameters: padding - the paddinge parsed from the transformation parameter ofgetInstance exception: NoSuchPaddingException - if transformation contains a padding scheme that is not available. |
Methods inherited from com.sun.midp.crypto.DES | public int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws IllegalStateException, ShortBufferException, IllegalBlockSizeException, BadPaddingException(Code)(Java Doc) public byte[] getIV()(Code)(Java Doc) public void init(int opmode, Key key, CryptoParameter params) throws InvalidKeyException, InvalidAlgorithmParameterException(Code)(Java Doc) protected void setChainingModeAndPadding(String mode, String padding) throws NoSuchPaddingException(Code)(Java Doc) public int update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws IllegalStateException, ShortBufferException(Code)(Java Doc)
|
Methods inherited from com.sun.midp.crypto.Cipher | abstract public int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws IllegalStateException, ShortBufferException, IllegalBlockSizeException, BadPaddingException(Code)(Java Doc) public byte[] getIV()(Code)(Java Doc) final public static Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException(Code)(Java Doc) public void init(int opmode, Key key) throws InvalidKeyException(Code)(Java Doc) abstract public void init(int opmode, Key key, CryptoParameter params) throws InvalidKeyException, InvalidAlgorithmParameterException(Code)(Java Doc) abstract protected void setChainingModeAndPadding(String mode, String padding) throws NoSuchPaddingException(Code)(Java Doc) abstract public int update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws IllegalStateException, ShortBufferException(Code)(Java Doc)
|
|
|