Client SDK Version 1.8.0
Ionic Security client SDK for Python users
|
AES/GCM protected device profile persistor implementation. More...
Public Member Functions | |
def | __init__ (self, filepath, keydata, authdata) |
Constructs a persistor with the provided values. 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... | |
Public Attributes | |
filepath | |
(unicode) File name and path where the encrypted JSON file will be located | |
AES/GCM protected device profile persistor implementation.
This class provides a file-based device persistor that is protected by an encryption key.
The Additional Authenticated Data (AAD) provided in authdata must not be empty.
def ionicsdk.common.DeviceProfilePersistorAesGcmFile.__init__ | ( | self, | |
filepath, | |||
keydata, | |||
authdata | |||
) |
Constructs a persistor with the provided values.
filepath | (string): The file name and path |
keydata | (bytes): The raw key bytes. It must be exactly 32 bytes in length. |
authdata | (bytes): The raw auth data. |
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:51 for Client SDK Version 1.8.0 by
1.8.16