public class RSA extends BlockCipher
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ident |
BLOCK_SIZE, buffer, bufferPos, CBC, cbcV, ECB, firstBlock, ivec, ivEncrypted, ivInline, key, mode, paddedStream, random, streamMode| 构造器和说明 |
|---|
RSA() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
decryptBlock(byte[] abyte0,
int i,
int j,
byte[] abyte1,
int k) |
protected BigInteger |
encrypt(BigInteger biginteger) |
protected int |
encryptBlock(byte[] abyte0,
int i,
int j,
byte[] abyte1,
int k) |
protected int |
engineGetBlockSize() |
protected int |
engineGetOutputSize(int i) |
void |
engineSetMode(String s) |
void |
engineSetPadding(String s) |
protected void |
setKey(Key key) |
engineDoFinal, engineDoFinal, engineGetIV, engineGetParameters, engineInit, engineInit, engineInit, engineUpdate, engineUpdate, resetengineDoFinal, engineGetKeySize, engineUnwrap, engineUpdate, engineUpdateAAD, engineUpdateAAD, engineWrapprotected final int decryptBlock(byte[] abyte0,
int i,
int j,
byte[] abyte1,
int k)
throws BadPaddingException
decryptBlock 在类中 BlockCipherBadPaddingExceptionprotected BigInteger encrypt(BigInteger biginteger)
protected final int encryptBlock(byte[] abyte0,
int i,
int j,
byte[] abyte1,
int k)
throws IllegalBlockSizeException
encryptBlock 在类中 BlockCipherIllegalBlockSizeExceptionprotected int engineGetBlockSize()
engineGetBlockSize 在类中 BlockCipherprotected int engineGetOutputSize(int i)
engineGetOutputSize 在类中 BlockCipherpublic void engineSetMode(String s) throws NoSuchAlgorithmException
engineSetMode 在类中 BlockCipherNoSuchAlgorithmExceptionpublic void engineSetPadding(String s) throws NoSuchPaddingException
engineSetPadding 在类中 BlockCipherNoSuchPaddingExceptionprotected void setKey(Key key) throws InvalidKeyException
setKey 在类中 BlockCipherInvalidKeyExceptionCopyright © 2020. All rights reserved.