|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AMIPublicKey | |
ami | Base AMI classes |
ami.security | Contains everything AMI needs about security : PKI, Hashing, symmetrical encoding |
Uses of AMIPublicKey in ami |
Fields in ami declared as AMIPublicKey | |
private AMIPublicKey |
AMIrt.apk
|
private AMIPublicKey |
AMIPacket.apk
|
private static AMIPublicKey |
AMILocalParameter.pu
|
Methods in ami that return AMIPublicKey | |
static AMIPublicKey |
AMIrt.addPeer(String sAlias,
String sIP,
String sComment)
Add a peer without public key ( usefull for eai for example ) |
static AMIPublicKey |
AMIrt.addPeer(String sAlias,
String sIP)
Idem with no comment |
(package private) AMIPublicKey |
AMIPacket.getApk()
put your documentation comment here |
static AMIPublicKey |
AMILocalParameter.getPu()
Return the public key |
static AMIPublicKey |
AMIUtil.amiping(String sIP)
Used to get the pu corresponding to an IP, Basicaly, sends an AMIping at given address and wait for answer |
Methods in ami with parameters of type AMIPublicKey | |
private boolean |
AMIServiceProcessor.isOlderThan(AMIPublicKey apk,
int iValue)
Helper used to determine if a peer DLC is older than the given amount of seconds |
(package private) static boolean |
AMIrt.contains(AMIPublicKey apk)
Used to know if a peer is in the RT |
static String |
AMIrt.getAlias(AMIPublicKey apk)
Get alias associated with a pu returns null if the apk not in RT |
static String |
AMIrt.getIP(AMIPublicKey apk)
Return IP for the given peer Format: ip ex: 10.0.0.1 returns null if the apk not in RT |
static String |
AMIrt.getPort(AMIPublicKey apk)
Return the port for the given peer Format: ip ex: 1111 returns null if the apk not in RT |
static String |
AMIrt.getFullIP(AMIPublicKey apk)
Return the ip:port for the given peer Format: ip:port ex: 10.0.0.31:1111 returns null if the apk not in RT |
static Integer |
AMIrt.getPerf(AMIPublicKey apk)
Get performance of peer associated with pu returns null if the apk not in RT |
static Integer |
AMIrt.getDLC(AMIPublicKey apk)
retruns the date in seconds since 1970 od the last successful check returns null if the apk not in RT |
static String |
AMIrt.getComment(AMIPublicKey apk)
Get comment associated with pu returns null if the apk not in RT |
static Vector |
AMIrt.getAlIp(AMIPublicKey apk)
Advance search Return the set [alias,ip] for the given peer pu |
static void |
AMIrt.setAlias(AMIPublicKey apk,
String sValue)
Set the alias of a peer |
static void |
AMIrt.setIP(AMIPublicKey apk,
String sValue)
Set the ip of a peer |
(package private) static void |
AMIrt.incPerf(AMIPublicKey apk)
Increase the performance by the standard value |
(package private) static void |
AMIrt.decPerf(AMIPublicKey apk)
Decrease the performance of a peer |
static void |
AMIrt.setPerf(AMIPublicKey apk,
int iValue)
Set the performance of a peer |
static void |
AMIrt.setDLC(AMIPublicKey apk,
int iDate)
Set the DLC of a peer |
static void |
AMIrt.setComment(AMIPublicKey apk,
String sComment)
Set the comment of a peer |
static void |
AMIrt.removePeer(AMIPublicKey apk)
Used to drop the entry identified by apk |
static void |
AMIrt.addPeer(AMIPublicKey apk,
String sAlias,
String sIP,
String sComment)
add a peer in the rt. |
static void |
AMIrt.addPeer(AMIPublicKey apk,
String sAlias,
String sIP)
Idem with no comment |
(package private) static void |
AMIrt.alterPeer(AMIPublicKey apk,
String sIP)
Alter ip of a given pu after network validation |
(package private) static boolean |
AMIResultTable.addResult(String sArid,
AMIPublicKey apk)
Add a result |
(package private) static void |
AMILocalParameter.setPU(AMIPublicKey apu)
Set value of PU ( used at key generation ) |
(package private) boolean |
AMIInputSpool.checkSignature(char[] cData,
char[] cProposedSignature,
AMIPublicKey apk)
Check signature of a packet signature is the hashcode of data between |
static boolean |
AMIUtil.check(AMIPublicKey apk,
String sIP)
Used to check if a given pu matchs a given ip, the real check is done only if the RT entry is no more trusted ( DLC too old ) |
static boolean |
AMIUtil.forcedCheck(AMIPublicKey apk,
String sIP)
Used to check if a given pu matchs a given ip, the real check is always done |
Constructors in ami with parameters of type AMIPublicKey | |
AMIPacket(AMIPublicKey apk)
|
Uses of AMIPublicKey in ami.security |
Fields in ami.security declared as AMIPublicKey | |
static AMIPublicKey |
AMIPublicKey.VOID_KEY
Standard void representation for a RSA key, used as defaut in some cases |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |