Remove extra spacing

This commit is contained in:
Lorin Thwaits
2023-02-20 19:33:29 +00:00
parent 434b798c98
commit b062f2c734
1461 changed files with 13333 additions and 76271 deletions
@@ -35,7 +35,7 @@ def handler(operation, payload, pin, key_attributes, version):
# Throw exception on unsupported operation.
#
raise Exception('Unsupported operation ' + operation)
# The response should be a base64 url encoded JSON expected by the control plane.
#
serialized_json_response = json.dumps(response.__dict__).encode("utf-8")
@@ -7,7 +7,7 @@ class ConfigurationConstants(object):
CONFIG_HSM_SETTINGS_FILE = "configuration.ini"
"""
Configuration section name where environment variables
Configuration section name where environment variables
to be loaded before application execution are defined.
"""
CONFIG_SECTION_ENVIRONMENT_VARIABLE = "EnvironmentVariables"
@@ -18,7 +18,7 @@ class ConfigurationConstants(object):
class Operations(object):
"""
Operations supported by the application. These are the operations
Operations supported by the application. These are the operations
that the Big Data Cluster control plane will invoke.
"""
OPERATION_ENCRYPT='encrypt'
@@ -54,7 +54,7 @@ def get_key(json_key_attributes_dict, pin, version):
# JsonWebKeyResponse expects integer inputs and converts them to byte array
# However AKV SDK already provides byte arrays for Exponent and Modulus.
# We will instantiate the object with a dummy value and then overwrite the
# We will instantiate the object with a dummy value and then overwrite the
# exponent and module value.
#
dummy_val = 1
@@ -15,7 +15,7 @@ class EncryptDecryptRequest(object):
self.alg = alg
class EncryptDecryptResponse(object):
"""
"""
Represents the encryption and decryption response
"""
def __init__(self, value):