public class GrantApplicationHash extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
computeAttachmentHash(byte[] attachment)
Computes the hash of an binary attachment.
|
static String |
computeGrantFormsHash(Document xml)
Computes the hash value for the Grants.gov application XML.
|
static String |
computeGrantFormsHash(GrantApplicationXpath xpath)
Computes the hash value for the Grants.gov application XML.
|
static String |
computeGrantFormsHash(String xml)
Computes the hash value for the Grants.gov application XML.
|
public static final String computeGrantFormsHash(String xml) throws S2SException
xml - The Grants.gov application XML.Exception - When the XML cannot be parsed.S2SExceptionpublic static final String computeAttachmentHash(byte[] attachment) throws Exception
attachment - Exceptionpublic static final String computeGrantFormsHash(GrantApplicationXpath xpath) throws Exception
xpath - An xpath object holding the Grants.gov application XML.Exception - When the XML cannot be parsed.public static final String computeGrantFormsHash(Document xml) throws Exception
xml - The Grants.gov application XML.Exception - When the XML cannot be parsed.Copyright © 2013 The Kuali Foundation. All Rights Reserved.