> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/sdi__data_8h_source.md).

# sdi\_data.h

[Go to the documentation of this file.](/adk-5.0-programmers-guide/readme/files/dir_fd97ec13bcecf864d0a2538bcb52d927/dir_64d02063c70c5c9b1f1dea0f7cacc02a/sdi__data_8h.md)

```cpp
 1 /****************************************************************************
 2 * Product: ADK Secure Data Interface (SDI)
 3 * Company: Verifone
 4 * Author: GSS R&D Germany
 5 * Content: Client (structure) interface - Data functions
 6 ****************************************************************************/
 7 
 8 #ifndef _SDI_DATA_H_ /* avoid double interface-includes */
 9 #define _SDI_DATA_H_
 10 
 11 #ifdef __cplusplus
 12 extern "C" {
 13 #endif
 14 
 15 #include "emv/EMV_CT_Interface.h"
 16 #include "emv/EMV_CTLS_Interface.h"
 17 
 18 // from sdi/csd/data.h
 19 #define CLA_DATA 0x29 
 20 #define INS_FETCH_TAGS 0x02 
 21 
 22 #define SENSITIVE_TAG_OMIT 0 
 28 #define SENSITIVE_TAG_TRUNCATE 0x01 
 29 #define SENSITIVE_TAG_REPLACE 0x02 
 30 #define FETCHTAGS_EXPIRY_DATE_IN_CLEAR 0x04 
 31 #define FETCHTAGS_GET_DATA 0x08 
 32 #define FETCHTAGS_ADK_ONLY 0x10 
 33 #define FETCHTAGS_KERNEL_ONLY 0x20 
 34 #define FETCHTAGS_KERNEL_PRIVATE 0x40 
 35 
 37 
 38 /*****************************************************************************
 39 * SDI_fetchTxnTags
 40 *****************************************************************************/
 62 EMV_ADK_INFO SDI_fetchTxnTags(unsigned char options, unsigned long* requestedTags, unsigned short noOfRequestedTags, unsigned char* tlvBuffer, unsigned short bufferLength, unsigned short* tlvDataLength);
 63 
 64 
 65 #ifdef __cplusplus
 66 } // extern "C"
 67 #endif
 68 
 69 #endif // #ifndef _SDI_DATA_H_
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/sdi__data_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
