Esempio n. 1
0
def hash_asynchronously_au(host, auth, auid):
  '''Returns a request id for a asychrounous hash of the given AU
  '''
  req = HasherServiceImplService_client.hashAsynchronously()
  req._hasherParams = HasherServiceImplService_client.hasherParams
  req._hasherParams._auId = auid
  return _ws_port(host, auth).hashAsynchronously(req)._return._requestId
Esempio n. 2
0
def hash_asynchronously_au(host, auth, auid):
  '''Returns a request id for a asychrounous hash of the given AU
  '''
  req = HasherServiceImplService_client.hashAsynchronously()
  req.HasherParams = req.new_hasherParams()
  req.HasherParams.AuId = auid
  try: return _ws_port(host, auth).hashAsynchronously(req).Return.RequestId
  except AttributeError: return None
Esempio n. 3
0
def hash_asynchronously_au(host, auth, auid, include_weight=False):
  '''Returns a request id for a asychrounous hash of the given AU
  '''
  req = HasherServiceImplService_client.hashAsynchronously()
  req.HasherParams = req.new_hasherParams()
  req.HasherParams.AuId = auid
  req.HasherParams.IncludeWeight = include_weight
  try: return _ws_port(host, auth).hashAsynchronously(req).Return.RequestId
  except AttributeError: return None
Esempio n. 4
0
def hash_asynchronously_au_url(host, auth, auid, url):
  '''Returns a request id for a asychrounous hash of the given url
  '''
  req = HasherServiceImplService_client.hashAsynchronously()
  req._hasherParams = HasherServiceImplService_client.hasherParams
  req._hasherParams._auId = auid
  req._hasherParams._url = url
  req._hasherParams._hashType = "V3File"
  req._hasherParams._recordFilteredStream = True
  return _ws_port(host, auth).hashAsynchronously(req)._return._requestId
Esempio n. 5
0
def hash_asynchronously_au_url(host, auth, auid, url):
  '''Returns a request id for a asychrounous hash of the given url
  '''
  req = HasherServiceImplService_client.hashAsynchronously()
  req.HasherParams = req.new_hasherParams()
  req.HasherParams.AuId = auid
  req.HasherParams.Url = url
  req.HasherParams.HashType = "V3File"
  req.HasherParams.RecordFilteredStream = True
  try: return _ws_port(host, auth).hashAsynchronously(req).Return.RequestId
  except AttributeError: return None
Esempio n. 6
0
def hash_asynchronously_au_url(host, auth, auid, url):
  '''Returns a request id for a asychrounous hash of the given url
  '''
  req = HasherServiceImplService_client.hashAsynchronously()
  req.HasherParams = req.new_hasherParams()
  req.HasherParams.AuId = auid
  req.HasherParams.Url = url
  req.HasherParams.HashType = "V3File"
  req.HasherParams.RecordFilteredStream = True
  try: return _ws_port(host, auth).hashAsynchronously(req).Return.RequestId
  except AttributeError: return None