mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
19 lines
387 B
Java
19 lines
387 B
Java
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);
|
|
}
|
|
}
|