Did I find the right examples for you? yes no

All Samples(10)  |  Call(3)  |  Derive(0)  |  Import(7)
The MultiMemberAuthentication policy can be used when a message needs to be signed by more than
one members.

A message that uses the multi-member-authentication policy is signed by two or more member.
Similar to the member-authentication policy the message contains two or more identifiers where
the first indicates the creator and the following indicate the members that added their
signature.

Dispersy is responsible for obtaining the signatures of the different members and handles this
using the messages dispersy-signature-request and dispersy-signature-response, defined below.(more...)

src/s/w/swiftarm-HEAD/tribler/Tribler/dispersy/debugcommunity.py   swiftarm(Download)
from struct import pack, unpack_from
 
from authentication import MultiMemberAuthentication, MemberAuthentication
from candidate import Candidate
from community import Community
    def initiate_meta_messages(self):
        return [Message(self, u"last-1-test", MemberAuthentication(), PublicResolution(), LastSyncDistribution(synchronization_direction=u"ASC", priority=128, history_size=1), CommunityDestination(node_count=10), TextPayload(), self.check_text, self.on_text),
                Message(self, u"last-9-test", MemberAuthentication(), PublicResolution(), LastSyncDistribution(synchronization_direction=u"ASC", priority=128, history_size=9), CommunityDestination(node_count=10), TextPayload(), self.check_text, self.on_text),
                Message(self, u"last-1-multimember-text", MultiMemberAuthentication(count=2, allow_signature_func=self.allow_signature_func), PublicResolution(), LastSyncDistribution(synchronization_direction=u"ASC", priority=128, history_size=1), CommunityDestination(node_count=10), TextPayload(), self.check_text, self.on_text),
                Message(self, u"double-signed-text", MultiMemberAuthentication(count=2, allow_signature_func=self.allow_double_signed_text), PublicResolution(), DirectDistribution(), MemberDestination(), TextPayload(), self.check_text, self.on_text),
                Message(self, u"triple-signed-text", MultiMemberAuthentication(count=3, allow_signature_func=self.allow_triple_signed_text), PublicResolution(), DirectDistribution(), MemberDestination(), TextPayload(), self.check_text, self.on_text),

src/s/w/swiftarm-HEAD/tribler/Tribler/dispersy/message.py   swiftarm(Download)
    def check_policy_combination(authentication, resolution, distribution, destination):
        from authentication import Authentication, NoAuthentication, MemberAuthentication, MultiMemberAuthentication
        from resolution import Resolution, PublicResolution, LinearResolution, DynamicResolution
        from distribution import Distribution, RelayDistribution, DirectDistribution, FullSyncDistribution, LastSyncDistribution
        from destination import Destination, CandidateDestination, MemberDestination, CommunityDestination, SubjectiveDestination

src/s/w/swiftarm-HEAD/tribler/Tribler/dispersy/conversion.py   swiftarm(Download)
from random import choice
 
from authentication import NoAuthentication, MemberAuthentication, MultiMemberAuthentication
from bloomfilter import BloomFilter
from crypto import ec_check_public_bin

src/s/w/swiftarm-HEAD/tribler/Tribler/dispersy/dispersy.py   swiftarm(Download)
from time import time
 
from authentication import NoAuthentication, MemberAuthentication, MultiMemberAuthentication
from bloomfilter import BloomFilter
from bootstrap import get_bootstrap_candidates

src/s/w/swiftarm-HEAD/tribler/Tribler/dispersy/payload.py   swiftarm(Download)
            """
            if __debug__:
                from authentication import MemberAuthentication, MultiMemberAuthentication
                from resolution import PublicResolution, LinearResolution, DynamicResolution
                from member import Member
            """
            if __debug__:
                from authentication import MemberAuthentication, MultiMemberAuthentication
                from resolution import PublicResolution, LinearResolution, DynamicResolution
                from member import Member

src/s/w/swiftarm-HEAD/tribler/Tribler/dispersy/timeline.py   swiftarm(Download)
from itertools import count, groupby
 
from authentication import MemberAuthentication, MultiMemberAuthentication
from resolution import PublicResolution, LinearResolution, DynamicResolution