|
Client SDK Version 1.8.0
Ionic Security client SDK for Python users
|
Secret Share persistor implementation. More...
Public Member Functions | |
| def | __init__ (self, secretsharedata) |
| def | SetFilePath (self, filePath) |
| Sets the encrypted secret share file path. More... | |
| def | GetKey (self) |
| Generate (first call) or Retrieve (subsequent calls) a key. More... | |
Secret Share persistor implementation.
This class uses a SecretShareData object to populate data. (See SecretShareData)
DO NOT use the provided SecretShareData class alone. You must subclass the provided class and add a GetData() and GetBuckets() method.
A secret share persistor allows a user to generate and recover a key based on groups of key-value data of which only a threshold amount of each group must match in order to recover the key.
NOTE: The secret share persistor will query the SecretShareData each time a key is requested.
| def ionicsdk.secretshare.SecretSharePersistor.__init__ | ( | self, | |
| secretsharedata | |||
| ) |
Initializes a Secret Share persistor from a secret share data object.
| secretsharedata | (SecretShareData) A reference to a SecretShareData implementation object. |
| def ionicsdk.secretshare.SecretSharePersistor.GetKey | ( | self | ) |
Generate (first call) or Retrieve (subsequent calls) a key.
| def ionicsdk.secretshare.SecretSharePersistor.SetFilePath | ( | self, | |
| filePath | |||
| ) |
Sets the encrypted secret share file path.
| filePath | (string): The file path to use |
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 Wed Apr 1 2020 09:55:52 for Client SDK Version 1.8.0 by
1.8.16