public class LeafSecretSharingNode extends java.lang.Object implements SecretSharingTreeNode
ThresholdPolicys used by ThresholdTreeSecretSharing.| Constructor and Description |
|---|
LeafSecretSharingNode(Policy policy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getNumberOfChildren() |
int |
getNumberOfShares() |
Policy |
getPolicy() |
int |
hashCode() |
public LeafSecretSharingNode(Policy policy)
public int getNumberOfChildren()
getNumberOfChildren in interface SecretSharingTreeNodepublic int getNumberOfShares()
getNumberOfShares in interface SecretSharingTreeNodepublic Policy getPolicy()
getPolicy in interface SecretSharingTreeNodepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object