Client SDK Version 2.0.0
Ionic Security client SDK for Python users
|
Secret Share data implementation. More...
Public Member Functions | |
def | __init__ (self) |
Base class constructor for custom Secret Share Data. | |
Secret Share data implementation.
This class manages access to the secret share data. This data consists of a dictionary of key-values and a list of buckets. Each bucket groups keys from the dictionary and assigns a threshold count - the number of keys in each bucket that must match in order to decrypt.
The user must subclass this one and implement a GetData() and a GetBuckets() method. These methods are called on the Python side from 'C' callbacks, and this class converts the Python data into native 'C' data for the SDK.
def GetData() should return a dictionary of string keys to string values
def GetBuckets() should return a list (or tuple) of SecretShareBucket objects.
Example:
It is assumed the data returned is volatile and should be re-queried on any access to a key.
You acknowledge your access, review and use of the documentation on this page is subject to the Ionic Security Inc. Documentation Use Rights.
© 2016-2020 Ionic Security Inc. All rights reserved. -
Generated on Thu Jul 2 2020 12:40:01 for Client SDK Version 2.0.0 by
1.8.18