/**
 * @file       validation_key.h
 * @brief      Contains key for signature validation
 * @author     Oleksandr Kanievskyi (o.kanievskyi@samsung.com)
 * @version    1.0
 * @date       Created July 12, 2016
 * @copyright  In Samsung Ukraine R&D Center (SURC) under a contract between
 * @copyright  LLC "Samsung Electronics Ukraine Company" (Kiev, Ukraine) and
 * @copyright  "Samsung Electronics Co", Ltd (Seoul, Republic of Korea)
 * @copyright  Copyright: (c) Samsung Electronics Co, Ltd 2016. All rights reserved.
**/

#ifndef PA_TZ_DRV_SRC_VALIDATION_KEY_H_
#define PA_TZ_DRV_SRC_VALIDATION_KEY_H_

#include "pa_tz_api.h"
#include "config.h"
#include "crypto.h"

/**
 * @brief Returns public key for signature verification by type
 * @param [in] type Type of the signature
 * @param [out] key Public RSA key
 * @return ::PA_TZ_SUCCESS, ::PA_TZ_GENERAL_ERROR
 */
PaTzResult ValidationKeyGetByType(BuildType type, RsaPublicKey *key);

#endif  // PA_TZ_DRV_SRC_VALIDATION_KEY_H_
