#ifndef VENDOR_SAMSUNG_SECURITY_DRK_B64CODER_H
#define VENDOR_SAMSUNG_SECURITY_DRK_B64CODER_H

#include <stdint.h>

namespace vendor   {
namespace samsung  {
namespace hardware {
namespace security {
namespace drk      {

typedef enum {
    B64_BASIC,
    B64_SAFE_ALPHABET,
    B64_TABLE_MAX,
} B64CONVERTTYPE;

class B64Coder
{
public:
    static uint8_t *B64Encoding(uint8_t *buf, uint32_t  len,   B64CONVERTTYPE type);
    static uint8_t *B64Decoding(uint8_t *buf, uint32_t *p_len, B64CONVERTTYPE type);
};

}  // namespace drk
}  // namespace security
}  // namespace hardware
}  // namespace samsung
}  // namespace vendor

#endif
