|
Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10668-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.crypto.core.RSA
public final class 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 Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10668-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||