public class RSACipher extends Cipher
chaining, CHAINING_CBC, CHAINING_ECB, CHAINING_NONE, iv, key, nativeHeap, operation, OPERATION_DECRYPT, OPERATION_ENCRYPT, padding, PADDING_NONE, PADDING_PKCS1, PADDING_PKCS5| Constructor and Description |
|---|
RSACipher() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doReset() |
protected void |
finalize() |
java.lang.String |
getAlgorithm()
Returns the name of the algorithm.
|
int |
getBlockLength()
Returns the block length.
|
protected boolean |
isChainingSupported(int chaining) |
protected boolean |
isKeySupported(Key key,
int operation) |
protected boolean |
isPaddingSupported(int padding) |
protected byte[] |
process(byte[] data) |
public final java.lang.String getAlgorithm()
getAlgorithm in class Cipherpublic final int getBlockLength()
getBlockLength in class Cipherprotected final void doReset()
throws NoSuchAlgorithmException,
CryptoException
doReset in class CipherNoSuchAlgorithmExceptionCryptoExceptionprotected final byte[] process(byte[] data)
throws CryptoException
process in class CipherCryptoExceptionprotected final boolean isKeySupported(Key key, int operation)
isKeySupported in class Cipherprotected final boolean isChainingSupported(int chaining)
isChainingSupported in class Cipherprotected final boolean isPaddingSupported(int padding)
isPaddingSupported in class Cipherprotected final void finalize()
finalize in class java.lang.Object