Esempio n. 1
0
def hash_au(host, auth, auid):
  '''Returns the full hash of the given AU
  '''
  req = HasherServiceImplService_client.hash()
  req.HasherParams = req.new_hasherParams()
  req.HasherParams.AuId = auid
  return _ws_port(host, auth).hash(req).Return
Esempio n. 2
0
def hash_au(host, auth, auid):
  '''Returns the full hash of the given AU
  '''
  req = HasherServiceImplService_client.hash()
  req._hasherParams = HasherServiceImplService_client.hasherParams
  req._hasherParams._auId = auid
  return _ws_port(host, auth).hash(req)._return
Esempio n. 3
0
def hash_au(host, auth, auid, include_weight=False):
  '''Returns the full hash of the given AU
  '''
  req = HasherServiceImplService_client.hash()
  req.HasherParams = req.new_hasherParams()
  req.HasherParams.AuId = auid
  req.HasherParams.IncludeWeight = include_weight
  return _ws_port(host, auth).hash(req).Return
Esempio n. 4
0
def hash_au_url(host, auth, auid, url):
  '''Returns the filtered file of the given Url and AU
  '''
  req = HasherServiceImplService_client.hash()
  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, sys.stdout).hash(req)._return