Interface GrantApplicationHashService


public interface GrantApplicationHashService
Service to compute hashes for s2s.
  • Method Details

    • computeGrantFormsHash

      String computeGrantFormsHash(String xml)
      Computes a hash for a grant application in string form. xml cannot be blank.
      Parameters:
      xml - the grant application xml. cannot be blank
      Returns:
      the hash
    • computeAttachmentHash

      String computeAttachmentHash(byte[] attachment)
      Computes a hash for an attachment in byte array form. attachment cannot be null or empty.
      Parameters:
      attachment - the attachment. cannot be null or empty
      Returns:
      the hash