MCPcopy Index your code
hub / github.com/mozilla/cipherscan / create

Method create

cscan/extensions.py:119–129  ·  view source on GitHub ↗

Set the list of key shares to send. @type shares: list of tuples @param shares: a list of tuples where the first element is a NamedGroup ID while the second element in a tuple is an opaque bytearray encoding of the key share.

(self, shares)

Source from the content-addressed store, hash-verified

117 self.client_shares = None
118
119 def create(self, shares):
120 """
121 Set the list of key shares to send.
122
123 @type shares: list of tuples
124 @param shares: a list of tuples where the first element is a NamedGroup
125 ID while the second element in a tuple is an opaque bytearray encoding
126 of the key share.
127 """
128 self.client_shares = shares
129 return self
130
131 @property
132 def extData(self):

Callers 5

test_createMethod · 0.95
test_writeMethod · 0.95
test___repr__Method · 0.95
__call__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by 3

test_createMethod · 0.76
test_writeMethod · 0.76
test___repr__Method · 0.76