|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.itr_rescue.dataGuard.encryption.asymmetric.RSACrypto
public class RSACrypto
Constructor Summary | |
---|---|
RSACrypto()
|
Method Summary | |
---|---|
byte[] |
decrypt(byte[] CipherText,
java.security.Key PKey)
Function Decrypt: |
byte[] |
encrypt(byte[] PlainText,
java.security.Key PKey)
Function Decrypt: |
java.security.KeyPair |
GenerateKeys(java.lang.String MasterPassword)
Function that generates an RSA key Pair |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSACrypto()
Method Detail |
---|
public java.security.KeyPair GenerateKeys(java.lang.String MasterPassword) throws java.lang.Exception
MasterPassword:
- Used to deterministically determine the RSA key pair
java.lang.Exception
public byte[] encrypt(byte[] PlainText, java.security.Key PKey) throws java.lang.Exception
PlainText:
- The unencrypted textPKey:
- Public key or the Private Key
java.lang.Exception
public byte[] decrypt(byte[] CipherText, java.security.Key PKey) throws java.lang.Exception
CipherText:
- The encrypted textKey:
- Public key or the Private Key
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |