| 限定符和类型 | 字段和说明 |
|---|---|
protected static int |
BLOCK_SIZE |
protected byte[] |
buffer |
protected int |
bufferPos |
protected static int |
CBC |
protected byte[] |
cbcV |
protected static int |
ECB |
protected boolean |
firstBlock |
static String |
ident |
protected byte[] |
ivec |
protected boolean |
ivEncrypted |
protected boolean |
ivInline |
protected Key |
key |
protected int |
mode |
protected boolean |
paddedStream |
protected SecureRandom |
random |
protected int |
streamMode |
| 构造器和说明 |
|---|
BlockCipher() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract int |
decryptBlock(byte[] paramArrayOfByte1,
int paramInt1,
int paramInt2,
byte[] paramArrayOfByte2,
int paramInt3) |
protected abstract int |
encryptBlock(byte[] paramArrayOfByte1,
int paramInt1,
int paramInt2,
byte[] paramArrayOfByte2,
int paramInt3) |
protected byte[] |
engineDoFinal(byte[] abyte0,
int i,
int j) |
protected int |
engineDoFinal(byte[] abyte0,
int i,
int j,
byte[] abyte1,
int k) |
protected int |
engineGetBlockSize() |
protected byte[] |
engineGetIV() |
protected int |
engineGetOutputSize(int i) |
protected AlgorithmParameters |
engineGetParameters() |
protected void |
engineInit(int i,
Key key1,
AlgorithmParameterSpec algorithmparameterspec,
SecureRandom securerandom) |
protected void |
engineInit(int i,
Key key1,
AlgorithmParameters algorithmparameters,
SecureRandom securerandom) |
protected void |
engineInit(int i,
Key key1,
SecureRandom securerandom) |
protected void |
engineSetMode(String s) |
protected void |
engineSetPadding(String s) |
protected byte[] |
engineUpdate(byte[] abyte0,
int i,
int j) |
protected int |
engineUpdate(byte[] abyte0,
int i,
int j,
byte[] abyte1,
int k) |
protected void |
reset() |
protected abstract void |
setKey(Key paramKey) |
engineDoFinal, engineGetKeySize, engineUnwrap, engineUpdate, engineUpdateAAD, engineUpdateAAD, engineWrapprotected static final int BLOCK_SIZE
protected static final int ECB
protected static final int CBC
protected byte[] buffer
protected int bufferPos
protected int mode
protected boolean paddedStream
protected int streamMode
protected byte[] ivec
protected byte[] cbcV
protected boolean ivInline
protected boolean ivEncrypted
protected boolean firstBlock
protected Key key
protected SecureRandom random
protected abstract int decryptBlock(byte[] paramArrayOfByte1,
int paramInt1,
int paramInt2,
byte[] paramArrayOfByte2,
int paramInt3)
throws BadPaddingException
protected abstract int encryptBlock(byte[] paramArrayOfByte1,
int paramInt1,
int paramInt2,
byte[] paramArrayOfByte2,
int paramInt3)
throws IllegalBlockSizeException
protected byte[] engineDoFinal(byte[] abyte0,
int i,
int j)
throws IllegalBlockSizeException,
BadPaddingException
protected int engineDoFinal(byte[] abyte0,
int i,
int j,
byte[] abyte1,
int k)
throws ShortBufferException,
IllegalBlockSizeException,
BadPaddingException
protected int engineGetBlockSize()
engineGetBlockSize 在类中 CipherSpiprotected byte[] engineGetIV()
engineGetIV 在类中 CipherSpiprotected int engineGetOutputSize(int i)
engineGetOutputSize 在类中 CipherSpiprotected AlgorithmParameters engineGetParameters()
engineGetParameters 在类中 CipherSpiprotected void engineInit(int i,
Key key1,
AlgorithmParameters algorithmparameters,
SecureRandom securerandom)
throws InvalidKeyException,
InvalidAlgorithmParameterException
protected void engineInit(int i,
Key key1,
SecureRandom securerandom)
throws InvalidKeyException
engineInit 在类中 CipherSpiInvalidKeyExceptionprotected void engineInit(int i,
Key key1,
AlgorithmParameterSpec algorithmparameterspec,
SecureRandom securerandom)
throws InvalidKeyException,
InvalidAlgorithmParameterException
protected void engineSetMode(String s) throws NoSuchAlgorithmException
engineSetMode 在类中 CipherSpiNoSuchAlgorithmExceptionprotected void engineSetPadding(String s) throws NoSuchPaddingException
engineSetPadding 在类中 CipherSpiNoSuchPaddingExceptionprotected byte[] engineUpdate(byte[] abyte0,
int i,
int j)
engineUpdate 在类中 CipherSpiprotected int engineUpdate(byte[] abyte0,
int i,
int j,
byte[] abyte1,
int k)
throws ShortBufferException
engineUpdate 在类中 CipherSpiShortBufferExceptionprotected void reset()
protected abstract void setKey(Key paramKey) throws InvalidKeyException
Copyright © 2020. All rights reserved.