Machina Client SDK Version 2.1.2
Ionic Security Machina Client SDK for Python users
|
Secret Share device profile persistor implementation. More...
Public Member Functions | |
def | __init__ (self, secretsharedata, filePath=None, secretshareFilePath=None) |
Constructs a persistor with the provided values. More... | |
def | SetFilePath (self, filePath) |
Sets the encrypted device profile file path. More... | |
def | SetSecretShareFilePath (self, filePath) |
Sets the secret share persistor file path. More... | |
![]() | |
def | __init__ (self) |
Constructs a persistor with default values. | |
def | getversion (self) |
Gets the profile persistor verion to use, or an empty value if a default will be used. More... | |
def | setversion (self, version) |
Sets the profile persistor verion to use. More... | |
Secret Share device profile 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.
This class provides a file-based device persistor that is uses a seperate Secret Share Persistor to store the encryption keys.
It needs two file paths, one for the secret share persistor and the other for the encrypted device profiles.
NOTE: The secret share persistor will query the SecretShareData each time a key is requested. It does not cache anything other than the file paths.
def ionicsdk.common.SecretShareProfilePersistor.__init__ | ( | self, | |
secretsharedata, | |||
filePath = None , |
|||
secretshareFilePath = None |
|||
) |
Constructs a persistor with the provided values.
secretsharedata | (SecretShareData) data object used by secret share to encrypt |
filePath | (string): The device profile file path to use |
secretshareFilePath | (string): The secret share persistor file path to use |
def ionicsdk.common.SecretShareProfilePersistor.SetFilePath | ( | self, | |
filePath | |||
) |
Sets the encrypted device profile file path.
filePath | (string): The device profile file path to use |
def ionicsdk.common.SecretShareProfilePersistor.SetSecretShareFilePath | ( | self, | |
filePath | |||
) |
Sets the secret share persistor file path.
filePath | (string): The secret share persistor 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-2021 Ionic Security Inc. All rights reserved. -
Generated on Wed Jul 21 2021 16:23:36 for Machina Client SDK Version 2.1.2 by
1.8.18