You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
583 B

import org.pEp.jniadapter.Engine;
import org.pEp.jniadapter.pEpException;
import org.pEp.jniadapter.Identity;
class Testing {
public static void main(String[] args) {
Engine e;
// load
try {
e = new Engine();
}
catch (pEpException ex) {
System.out.println("Cannot load");
return;
}
System.out.println("Test loaded");
// trustwords
Identity vb = new Identity();
vb.fpr = "DB4713183660A12ABAFA7714EBE90D44146F62F4";
String t = e.trustwords(vb);
}
}