|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.security.SignedQS | +--ostore.security.SignedQSTree | +--ostore.security.thresh.ThresholdSignedQSTree
A SignedQS for threshold signatures.
Nested Class Summary |
---|
Nested classes inherited from class ostore.security.SignedQSTree |
---|
SignedQSTree.Root |
Nested classes inherited from class ostore.security.SignedQS |
---|
SignedQS.SignatureBuffer |
Field Summary |
---|
Fields inherited from class ostore.security.SignedQSTree |
---|
_elts |
Fields inherited from class ostore.security.SignedQS |
---|
_qs_signature, _qs_signature_type, _signature, _user_data |
Constructor Summary | |
---|---|
ThresholdSignedQSTree(InputBuffer buffer)
Deserialize the same way as a SignedQS. |
|
ThresholdSignedQSTree(QSArray elts,
byte[] signature)
The default constructor. |
Method Summary | |
---|---|
static byte[] |
bytes_to_sign(QSArray elts,
long qs_signature_type)
|
static SigShare |
create_sig_share(KeyShare keyshare,
QSArray elts,
long qs_signature_type)
|
Methods inherited from class ostore.security.SignedQSTree |
---|
compute_root, compute_tree, main, next_highest_power_of_two, serialize, toString, user_data, verify |
Methods inherited from class ostore.security.SignedQS |
---|
init, init, qs_signature, verify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ThresholdSignedQSTree(InputBuffer buffer) throws QSException
public ThresholdSignedQSTree(QSArray elts, byte[] signature)
TODO: this interface practically encourages bugs.
Method Detail |
public static SigShare create_sig_share(KeyShare keyshare, QSArray elts, long qs_signature_type)
public static byte[] bytes_to_sign(QSArray elts, long qs_signature_type)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |