javax > javax.crypto > javax.crypto.cipherspi >

Class: javax.crypto.CipherSpi
    java.lang.Object
       javax.crypto.CipherSpi


public abstract class CipherSpi extends Object


FIELDS:

CONSTRUCTORS:
public CipherSpi()


METHODS:
protected abstract byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
Throws: IllegalBlockSizeException
Throws: BadPaddingException

protected abstract int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
Throws: IllegalBlockSizeException
Throws: ShortBufferException
Throws: BadPaddingException

protected int engineDoFinal(ByteBuffer input, ByteBuffer output)
Throws: IllegalBlockSizeException
Throws: ShortBufferException
Throws: BadPaddingException
Throws: NullPointerException

protected abstract int engineGetBlockSize()

protected abstract byte[] engineGetIV()

protected int engineGetKeySize(Key key)
Throws: InvalidKeyException

protected abstract int engineGetOutputSize(int inputLen)

protected abstract AlgorithmParameters engineGetParameters()

protected abstract void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
Throws: InvalidKeyException
Throws: InvalidAlgorithmParameterException

protected abstract void engineInit(int opmode, Key key, SecureRandom random)
Throws: InvalidKeyException

protected abstract void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
Throws: InvalidKeyException
Throws: InvalidAlgorithmParameterException

protected abstract void engineSetMode(String mode)
Throws: NoSuchAlgorithmException

protected abstract void engineSetPadding(String padding)
Throws: NoSuchPaddingException

protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
Throws: NoSuchAlgorithmException
Throws: InvalidKeyException

protected abstract byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)

protected abstract int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
Throws: ShortBufferException

protected int engineUpdate(ByteBuffer input, ByteBuffer output)
Throws: ShortBufferException
Throws: NullPointerException

protected byte[] engineWrap(Key key)
Throws: IllegalBlockSizeException
Throws: InvalidKeyException


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net