JCE Provider
Loading...
Searching...
No Matches
Static Public Attributes | Protected Member Functions | List of all members
CryptoServerCipher Class Reference

CryptoServerCipher. More...

Inherits CipherSpi.

Static Public Attributes

static final int MECH_MODE_ENCRYPT = 0x02000000
 
static final int MECH_MODE_DECRYPT = 0x03000000
 
static final int MECH_CHAIN_ECB = 0x00000000
 
static final int MECH_CHAIN_CBC = 0x00100000
 
static final int MECH_CHAIN_GCM = 0x00600000
 
static final int MECH_CHAIN_OFB = 0x00700000
 
static final int MECH_CHAIN_CCM = 0x00800000
 
static final int MECH_PAD_NONE = 0x00000000
 
static final int MECH_PAD_PKCS5 = 0x00001000
 
static final int MECH_PAD_PKCS1 = 0x00004000
 
static final int MECH_PAD_OAEP = 0x00005000
 

Protected Member Functions

byte[] engineDoFinal (byte[] input, int inputOffset, int inputLen) throws IllegalBlockSizeException, BadPaddingException
 
int engineDoFinal (byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws IllegalBlockSizeException, BadPaddingException, ShortBufferException
 
int engineGetBlockSize ()
 
byte[] engineGetIV ()
 
int engineGetOutputSize (int inputLen)
 
AlgorithmParameters engineGetParameters ()
 
void engineInit (int opmode, Key inKey, SecureRandom rng) throws InvalidKeyException
 
void engineInit (int opmode, Key inkey, AlgorithmParameterSpec paramValue, SecureRandom rng) throws InvalidKeyException, InvalidAlgorithmParameterException
 
void engineInit (int opmode, Key inKey, AlgorithmParameters algParam, SecureRandom rng) throws InvalidKeyException, InvalidAlgorithmParameterException
 
void engineSetMode (String smode) throws NoSuchAlgorithmException
 
void engineSetPadding (String spadding) throws NoSuchPaddingException
 
byte[] engineUpdate (byte[] input, int inputOffset, int inputLen)
 
int engineUpdate (byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws ShortBufferException
 
void engineUpdateAAD (byte[] aadValue)
 
void engineUpdateAAD (byte[] aadValue, int offset, int len)
 
void updateAAD (ByteBuffer aadBuffer)
 
byte[] engineWrap (Key inkey) throws IllegalBlockSizeException, InvalidKeyException
 
Key engineUnwrap (byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException
 

Detailed Description

CryptoServerCipher.