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 Cipher
public final int getBlockLength()
getBlockLength
in class Cipher
protected final void doReset() throws NoSuchAlgorithmException, CryptoException
doReset
in class Cipher
NoSuchAlgorithmException
CryptoException
protected final byte[] process(byte[] data) throws CryptoException
process
in class Cipher
CryptoException
protected final boolean isKeySupported(Key key, int operation)
isKeySupported
in class Cipher
protected final boolean isChainingSupported(int chaining)
isChainingSupported
in class Cipher
protected final boolean isPaddingSupported(int padding)
isPaddingSupported
in class Cipher
protected final void finalize()
finalize
in class java.lang.Object