KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > crypto > CipherSpi

javax.crypto
Class CipherSpi

java.lang.Object
  extended by javax.crypto.CipherSpi
See Also:
Source Code, engineSetPadding, engineSetMode, getInstance, KeyGenerator, SecretKey

public CipherSpi()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract byte[] engineDoFinal(byte[] input,
                                        int inputOffset,
                                        int inputLen)
                                 throws IllegalBlockSizeException,
                                        BadPaddingException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract int engineDoFinal(byte[] input,
                                     int inputOffset,
                                     int inputLen,
                                     byte[] output,
                                     int outputOffset)
                              throws ShortBufferException,
                                     IllegalBlockSizeException,
                                     BadPaddingException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int engineDoFinal(ByteBuffer input,
                            ByteBuffer output)
                     throws ShortBufferException,
                            IllegalBlockSizeException,
                            BadPaddingException
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract int engineGetBlockSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract byte[] engineGetIV()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int engineGetKeySize(Key key)
                        throws InvalidKeyException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract int engineGetOutputSize(int inputLen)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract AlgorithmParameters engineGetParameters()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void engineInit(int opmode,
                                   Key key,
                                   AlgorithmParameters params,
                                   SecureRandom random)
                            throws InvalidKeyException,
                                   InvalidAlgorithmParameterException
See Also:
engineGetIV, engineGetParameters
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void engineInit(int opmode,
                                   Key key,
                                   SecureRandom random)
                            throws InvalidKeyException
See Also:
engineGetIV, engineGetParameters
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void engineInit(int opmode,
                                   Key key,
                                   AlgorithmParameterSpec params,
                                   SecureRandom random)
                            throws InvalidKeyException,
                                   InvalidAlgorithmParameterException
See Also:
engineGetIV, engineGetParameters
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void engineSetMode(String mode)
                               throws NoSuchAlgorithmException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void engineSetPadding(String padding)
                                  throws NoSuchPaddingException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Key engineUnwrap(byte[] wrappedKey,
                           String wrappedKeyAlgorithm,
                           int wrappedKeyType)
                    throws InvalidKeyException,
                           NoSuchAlgorithmException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract byte[] engineUpdate(byte[] input,
                                       int inputOffset,
                                       int inputLen)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract int engineUpdate(byte[] input,
                                    int inputOffset,
                                    int inputLen,
                                    byte[] output,
                                    int outputOffset)
                             throws ShortBufferException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int engineUpdate(ByteBuffer input,
                           ByteBuffer output)
                    throws ShortBufferException
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected byte[] engineWrap(Key key)
                     throws IllegalBlockSizeException,
                            InvalidKeyException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags