|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.client.crypto.ASymCipher
public class ASymCipher
| Field Summary | |
|---|---|
private java.math.BigInteger |
m_Exponent
|
private java.math.BigInteger |
m_Modulus
|
private byte[] |
tmpP
|
| Constructor Summary | |
|---|---|
ASymCipher()
|
|
| Method Summary | |
|---|---|
int |
encrypt(byte[] from,
int ifrom,
byte[] to,
int ito)
|
private java.math.BigInteger |
getBigIntegerFromXml(org.w3c.dom.Element root,
java.lang.String name)
|
MyRSAPublicKey |
getPublicKey()
|
int |
setPublicKey(java.math.BigInteger modulus,
java.math.BigInteger exponent)
|
int |
setPublicKey(org.w3c.dom.Element xmlKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.math.BigInteger m_Modulus
private java.math.BigInteger m_Exponent
private byte[] tmpP
| Constructor Detail |
|---|
public ASymCipher()
| Method Detail |
|---|
public int encrypt(byte[] from,
int ifrom,
byte[] to,
int ito)
public int setPublicKey(java.math.BigInteger modulus,
java.math.BigInteger exponent)
public int setPublicKey(org.w3c.dom.Element xmlKey)
public MyRSAPublicKey getPublicKey()
private java.math.BigInteger getBigIntegerFromXml(org.w3c.dom.Element root,
java.lang.String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||