public class ShamirSecretSharingSchemeProvider extends java.lang.Object implements SecretSharingSchemeProvider
SecretSharingSchemeProvider that can create instances of ShamirSecretSharing.| Constructor and Description |
|---|
ShamirSecretSharingSchemeProvider() |
ShamirSecretSharingSchemeProvider(org.cryptimeleon.math.serialization.Representation representation) |
| Modifier and Type | Method and Description |
|---|---|
LinearSecretSharing<Policy> |
createLSSSInstance(ThresholdPolicy policy,
org.cryptimeleon.math.structures.rings.zn.Zp field)
|
boolean |
equals(java.lang.Object o) |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
int |
hashCode() |
public ShamirSecretSharingSchemeProvider()
public ShamirSecretSharingSchemeProvider(org.cryptimeleon.math.serialization.Representation representation)
public LinearSecretSharing<Policy> createLSSSInstance(ThresholdPolicy policy, org.cryptimeleon.math.structures.rings.zn.Zp field)
createLSSSInstance in interface SecretSharingSchemeProviderpolicy - ThresholdPolicy to create a LSSS forfield - Zp to define the shares and secret of the resulting schemeShamirSecretSharing instance for the given policy based on the given fieldpublic org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object