#ifndef DK_CMD_GET_DATA_H
#define DK_CMD_GET_DATA_H

#include "dk_common.h"
#include "dk_constants.h"
#include "sec_apdu.h"

/**
 * Generate a GET DATA KEY INFO cpdu.
 * 
 * @param buf byte array to which cpdu will be written to.
 * @param buflen length of buf.
 * @param ins ins of cpdu.
 * @param p1 p1 of cpdu.
 * @param p2 p2 of cpdu.
 * 
 * @return DK_SUCCESS on success; DK_ERROR_GENERIC otherwise.
 */
DK_Result generate_get_data_key_info_cpdu(
    byte* buf,
    size_t* buflen);

#endif