RawKeyGet

ProxyApi operation which decrypts and retrieves a record given the raw symmetric key bytes in base 64 encoding

Synopsis

Submit

GET /<ProxyServletPath>/?op=getrecordrawkey&recorduid=<RecordID>&rawkey=<RawKeyBase64>' HTTP/1.1
Host: <ProxyHost:ProxyPort>

ProxyServletPath
Path to the Proxy Servlet on the host. Example: /SharedRecordsProxyServer/
ProxyHost
IP address of Shared Records server. Example: sra.sharedrecords.org
ProxyPort
Network port of the Shared Records server. Example: 8080
RecordID
The Record ID for which metadata should be returned.
RawKeyBase64
The raw key bytes in base 64 encoding of the symmetric key for this record.

Response

HTTP/1.1 200 OK

Body
the shared records

Examples

URL

The following URL is an example url of how to use the rawkey get

http://192.80.10.34:8180/org.sharedrecords.web.token/ \
?op=getrecordrawkey&recorduid=f26156d8cad30944e6d54a3012ae14fa3fae1fd6&rawkey=uv5KzkxGv/c=

Note: the "\" character is used to indicate that the line continues. To copy-and-paste this command, remove those characters and remove whitespace in the URI.

Notes