|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.security.thresh.Dealer
A Key Dealer for an RSA based (k,l) Threshold Signature Scheme
Reference: "Practical Threshold Signatures",
Victor Shoup (sho@zurich.ibm.com), IBM Research Paper RZ3121, 4/30/99
Constructor Summary | |
---|---|
Dealer(String provider,
int keysize)
Create a new instance of a key dealer |
Method Summary | |
---|---|
void |
generateKeys(int k,
int l)
Generate a group public key and l shares for a (k,l) threshold signatures scheme |
ostore.security.thresh.GroupKey |
getGroupKey()
Returns the group key |
ThresholdPublicKey |
getPublicKey()
|
KeyShare[] |
getShares()
Returns the initialized secret key shares |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Dealer(String provider, int keysize)
provider
- - the provider to use for RSA KeyPair generatorkeysize
- - the size of the group keyMethod Detail |
public void generateKeys(int k, int l) throws ThresholdSigException
k
- - k valid signatures will verifyl
- - l members of the group will receive shares
ThresholdSigException
public ostore.security.thresh.GroupKey getGroupKey() throws ThresholdSigException
ThresholdSigException
public ThresholdPublicKey getPublicKey() throws ThresholdSigException
ThresholdSigException
public KeyShare[] getShares() throws ThresholdSigException
ThresholdSigException
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |