ProtocolFactory
Generates a list of Protocols that can implement a given Node, along with constraints that specify when using these protocols is valid.
The factory needs to ensure protocols returned for a node can implement the operations in that node. However, it does not need to ensure the protocols have enough authority to implement the node securely.
Functions
constraint
Link copied to clipboard
guardVisibilityConstraint
Link copied to clipboard
open fun guardVisibilityConstraint(protocol: Protocol, node: IfNode): SelectionConstraint
Content copied to clipboard
viableProtocols
Link copied to clipboard
Inheritors
ABYProtocolFactory
Link copied to clipboard
LocalProtocolFactory
Link copied to clipboard
ReplicationProtocolFactory
Link copied to clipboard
CommitmentProtocolFactory
Link copied to clipboard
ZKPProtocolFactory
Link copied to clipboard
Extensions
filter
Link copied to clipboard
fun ProtocolFactory.filter(predicate: (Protocol) -> Boolean): ProtocolFactory
Content copied to clipboard
Restricts the given factory to protocols that satisfy predicate.