|
Oracle Security Developer Tools Crypto Java API Reference 10g Release 2 (10.1.2.0.2) B15565-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.core.RSA
The raw RSA algorithm cryptographic operation.
For more information about RSA, see Schneier, "Applied Cryptography" or another general cryptograhy reference.
Constructor Summary | |
RSA() Creates a new RSA instance. |
Method Summary | |
java.math.BigInteger |
performOp(java.math.BigInteger m) Performs the basic RSA encryption/decryption operation on a number using the current key. |
void |
setKey(RSAKey key) Sets the key to the given RSA key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RSA()
RSA
instance. The setKey
method must be called before encrypting or decrypting.Method Detail |
public void setKey(RSAKey key)
key
- the keypublic java.math.BigInteger performOp(java.math.BigInteger m)
m
- The value to encrypt or decrypt.
|
Oracle Security Developer Tools Crypto Java API Reference 10g Release 2 (10.1.2.0.2) B15565-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |