code: def getSignature(self, signatureKey, serialized):
          
          try:
              return Curve.calculateSignature(signatureKey, serialized)
          except InvalidKeyException as e:
              raise AssertionError(e)
docs: :type signatureKey: ECPrivateKey
          :type serialized: bytearray