Client SDK Version 1.8.0
Ionic Security 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) |
Initializes the key object with provided inputs. More... | |
def | Debug (self) |
Get a debugging string representation of the instance. More... | |
Public Attributes | |
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.KeyData.__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.
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 |
def ionicsdk.common.KeyData.Debug | ( | self | ) |
Get a debugging string representation of the instance.
Reimplemented in ionicsdk.common.UpdateKeyData.
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