Package org.kuali.coeus.s2sgen.api.hash
Interface GrantApplicationHashService
public interface GrantApplicationHashService
Service to compute hashes for s2s.
-
Method Summary
Modifier and TypeMethodDescriptioncomputeAttachmentHash(byte[] attachment) Computes a hash for an attachment in byte array form.Computes a hash for a grant application in string form.
-
Method Details
-
computeGrantFormsHash
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
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
-