Create BQP API

This commit is contained in:
str4d
2016-02-02 05:52:30 +00:00
parent d2d8d9d46e
commit ce7c189923
15 changed files with 223 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package org.briarproject.api.keyagreement;
import org.briarproject.api.UniqueId;
/**
* Type-safe wrapper for a byte array that uniquely identifies a BQP task.
*/
public class KeyAgreementTaskId extends UniqueId {
public KeyAgreementTaskId(byte[] id) {
super(id);
}
@Override
public boolean equals(Object o) {
return o instanceof KeyAgreementTaskId && super.equals(o);
}
}