aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/standalone/libs/CECLibrary.java
diff options
context:
space:
mode:
authorJ08nY2017-11-12 23:39:35 +0100
committerJ08nY2017-11-12 23:39:35 +0100
commit9e615b101398bd4c8e2678bf86337e2756a8ee7a (patch)
tree61ac019b775ef7bb3eaba2519b8b1af9dbe8d6ef /src/cz/crcs/ectester/standalone/libs/CECLibrary.java
parente329190e496ecf847cfd7afa886ac08cacb2fc92 (diff)
downloadECTester-9e615b101398bd4c8e2678bf86337e2756a8ee7a.tar.gz
ECTester-9e615b101398bd4c8e2678bf86337e2756a8ee7a.tar.zst
ECTester-9e615b101398bd4c8e2678bf86337e2756a8ee7a.zip
Implement collecting of supported KeyAgreement and Signature objects.
Diffstat (limited to '')
-rw-r--r--src/cz/crcs/ectester/standalone/libs/CECLibrary.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/cz/crcs/ectester/standalone/libs/CECLibrary.java b/src/cz/crcs/ectester/standalone/libs/CECLibrary.java
new file mode 100644
index 0000000..82a4555
--- /dev/null
+++ b/src/cz/crcs/ectester/standalone/libs/CECLibrary.java
@@ -0,0 +1,31 @@
+package cz.crcs.ectester.standalone.libs;
+
+/**
+ * @author Jan Jancar johny@neuromancer.sk
+ */
+public abstract class CECLibrary implements ECLibrary {
+
+ private String resourcePath;
+ private String libname;
+
+ public CECLibrary(String resourcePath, String libname) {
+ this.resourcePath = resourcePath;
+ this.libname = libname;
+ }
+
+ @Override
+ public boolean initialize() {
+ // load the library here.
+ return false;
+ }
+
+ @Override
+ public String name() {
+ return libname;
+ }
+
+ @Override
+ public String toString() {
+ return name();
+ }
+}