guides:ws_validatechecksum
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
guides:ws_validatechecksum [2018/10/26 21:55] – created brett.zamora | guides:ws_validatechecksum [2019/06/04 23:52] (current) – brett.zamora | ||
---|---|---|---|
Line 2: | Line 2: | ||
- | The ValidateChecksum web service is used to validate a locally calculated SHA384 checksum against a checksum record that was previously stored in the CeRTNA Portal. The locally calculated checksum_value is obtained by calculating the checksum of a Base64 string contained in a CeRTNA Standard XML PRIA_DOCUMENT node. The checksum_key value contained in RequestChecksumValue (supplied by agent) property or the ResponseChecksumValue (supplied by county) property of the PRIA_DOCUMENT node, provides the index for the checksum_value the caller is validating. | + | The ValidateChecksum web service is used to validate a locally calculated SHA384 checksum against a checksum record that was previously stored in the CeRTNA Portal. The locally calculated checksum_value is obtained by [[guides: |
The ValidateChecksum web service, returns true, if the locally calculated value matches the value that was stored for the indexed record, otherwise it returns false. | The ValidateChecksum web service, returns true, if the locally calculated value matches the value that was stored for the indexed record, otherwise it returns false. | ||
Line 9: | Line 9: | ||
<color # | <color # | ||
- | {{tablelayout? | + | {{tablelayout? |
^ Method ^ URL ^ | ^ Method ^ URL ^ | ||
- | | POST | < | + | | POST | < |
Line 24: | Line 24: | ||
^ Key ^ Value ^ | ^ Key ^ Value ^ | ||
| Content-Type | application/ | | Content-Type | application/ | ||
+ | | access_token | {soft-token} | | ||
Line 42: | Line 43: | ||
- | As noted, any condition that results in an unsuccessful call to the StoreChecksum | + | As noted, any condition that results in an unsuccessful call to the ValidateChecksum |
Line 49: | Line 50: | ||
**Endpoint: | **Endpoint: | ||
- | < | + | < |
Line 67: | Line 68: | ||
- | **Sample Response:** | + | <color #7092be>Sample Response</ |
Status Code: 200 | Status Code: 200 | ||
Line 113: | Line 114: | ||
**Comment 2:** | **Comment 2:** | ||
- | Following is a C# / .NET sample code snippet that shows how to call the StoreChecksum | + | Following is a C# / .NET sample code snippet that shows how to call the ValidateChecksum |
Line 194: | Line 195: | ||
**Comment 4:** | **Comment 4:** | ||
- | CeRTNA has posted a simple Visual Studio 2015 WPF/C# project the CeRTNA Wiki that demonstrates how to look up values in an XML file and how to use the Login, StoreChecksum, | + | CeRTNA has posted a simple |
guides/ws_validatechecksum.1540590929.txt.gz · Last modified: by brett.zamora