Machina Client SDK Version 2.1.2
Ionic Security Machina Client SDK for Python users
|
Defines a data protection key as returned by Ionic.com. More...
Public Member Functions | |
def | __init__ (self, id, bytes, attributes=None, obligations=None, origin=None, mutableAttributes=None, mutableAttributesFromServer=None, attributesSigBase64FromServer=None, mutableAttributesSigBase64FromServer=None, forceUpdate=False) |
Initializes the key object with provided inputs. More... | |
def | Debug (self) |
Get a debugging string representation of the instance. More... | |
![]() | |
def | __init__ (self, id, bytes, attributes=None, obligations=None, origin=None, mutableAttributes=None, mutableAttributesFromServer=None, attributesSigBase64FromServer=None, mutableAttributesSigBase64FromServer=None) |
Initializes the key object with provided inputs. More... | |
Static Public Member Functions | |
def | FromKeyData (pyKey, forceUpdate=False) |
Utlity method for converting from KeyData to UpdateKeyData. More... | |
Public Attributes | |
forceUpdate | |
(bool) The force flag controls whether or not the Ionic key server should update the key forcefully when it is out of date | |
![]() | |
id | |
(string) The key ID | |
bytes | |
(bytes) The key | |
attributes | |
(KeyAttributesDict) The key non-mutable attributes | |
mutableAttributes | |
(KeyAttributesDict) The key mutable attributes | |
obligations | |
(KeyObligationsDict) The key obligations | |
origin | |
(string) The key origin, usually a URL | |
mutableAttributesFromServer | |
(KeyAttributesDict) The key mutable attributes from the server version | |
attributesSigBase64FromServer | |
(string) Base 64 encoded signature of the server's non-mutable attributes | |
mutableAttributesSigBase64FromServer | |
(string) Base 64 encoded signature of the server's mutable attributes | |
Defines a data protection key as returned by Ionic.com.
def ionicsdk.common.UpdateKeyData.__init__ | ( | self, | |
id, | |||
bytes, | |||
attributes = None , |
|||
obligations = None , |
|||
origin = None , |
|||
mutableAttributes = None , |
|||
mutableAttributesFromServer = None , |
|||
attributesSigBase64FromServer = None , |
|||
mutableAttributesSigBase64FromServer = None , |
|||
forceUpdate = False |
|||
) |
Initializes the key object with provided inputs.
id | (string): The key ID (also known as the key tag). |
bytes | (bytes): The raw key bytes. It must be exactly 32 bytes in length. |
attributes | (dict[string,list[string]], optional): The key attributes. |
obligations | (KeyObligationsDict) The key obligations |
origin | (string) The key origin, usually a URL |
mutableAttributes | (KeyAttributesDict) The key mutable attributes |
mutableAttributesFromServer | (KeyAttributesDict) The key mutable attributes from the server version |
attributesSigBase64FromServer | (string) Base 64 encoded signature of the server's non-mutable attributes |
mutableAttributesSigBase64FromServer | (string) Base 64 encoded signature of the server's mutable attributes |
forceUpdate | (bool): Whether to force update or error when asked to update an out of date key. |
def ionicsdk.common.UpdateKeyData.Debug | ( | self | ) |
Get a debugging string representation of the instance.
Reimplemented from ionicsdk.common.KeyData.
|
static |
Utlity method for converting from KeyData to UpdateKeyData.
pyKey | (KeyData): Key data to convert |
forceUpdate | (bool): Whether to force update or error when asked to update an out of date 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-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