parameters: (self, data, symmetric_key)
return_statement: return f.decrypt(base64.b64decode(data))
docstring: Decrypt the data. Note that the data is encrypted with a symmetric key, which is encrypted with an asymmetric key.
          We must therefore decrypt the symmetric key.
  
          :param data:            The data to decrypt.
          :param symmetric_key:   The symmetric_key encrypted with self.private_key.public_key()
docstring_summary: Decrypt the data. Note that the data is encrypted with a symmetric key, which is encrypted with an asymmetric key.
          We must therefore decrypt the symmetric key.
docstring_tokens: Decrypt the data . Note that the data is encrypted with a symmetric key which is encrypted with an asymmetric key . We must therefore decrypt the symmetric key .
function: def _decrypt_data(self, data, symmetric_key):
          ''' Decrypt the data. Note that the data is encrypted with a symmetric key, which is encrypted with an asymmetric key.
          We must therefore decrypt the symmetric key.
  
          :param data:            The data to decrypt.
          :param symmetric_key:   The symmetric_key encrypted with self.private_key.public_key()
          '''
          private_key = serialization.load_pem_private_key(
              base64.b64decode(self.private_key),
              password=None,
              backend=default_backend()
          )
          key = private_key.decrypt(
              base64.b64decode(symmetric_key),
              padding.OAEP(
                  mgf=padding.MGF1(algorithm=hashes.SHA256()),
                  algorithm=hashes.SHA256(),
                  label=None
              )
          )
          f = Fernet(key)
          return f.decrypt(base64.b64decode(data))
function_tokens: def _decrypt_data ( self , data , symmetric_key ) : private_key = serialization . load_pem_private_key ( base64 . b64decode ( self . private_key ) , password = None , backend = default_backend ( ) ) key = private_key . decrypt ( base64 . b64decode ( symmetric_key ) , padding . OAEP ( mgf = padding . MGF1 ( algorithm = hashes . SHA256 ( ) ) , algorithm = hashes . SHA256 ( ) , label = None ) ) f = Fernet ( key ) return f . decrypt ( base64 . b64decode ( data ) )