mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
Create BQP API
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user