virgil_sdk.utils.utils module¶
-
class
virgil_sdk.utils.utils.
Utils
[source]¶ Bases:
object
-
static
b64_decode
(source)[source]¶ Decode base64, padding being optional.
- Parameters
source – Base64 data as an ASCII byte string
- Returns
The decoded byte string.
-
static
b64_encode
(source)[source]¶ Removes any = used as padding from the encoded string.
- Parameters
for encoding. (Data) –
- Returns
Encoded data without ‘=’ sign
-
static
json_loads
(source)[source]¶ Convert source to bytearray and deserialize from json to python dict object.
-
static