AuroraRuntime/Include/Aurora/Crypto/Crypto.hpp

34 lines
615 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: Crypto.hpp
Date: 2021-6-11
Author: Reece
***/
#pragma once
namespace Aurora::Crypto
{
using DerBuffer = Memory::ByteBuffer;
namespace X509
{
using Certificate = Memory::ByteBuffer;
}
struct RSAPair
{
AuString certificate;
AuString privKey;
};
}
#include "EHashType.hpp"
#include "EKeyType.hpp"
#include "EPaddingType.hpp"
#include "AES/AES.hpp"
#include "X509/X509.hpp"
#include "CA/CA.hpp"
#include "ECC/ECC.hpp"
#include "PEM/PEM.hpp"
#include "RSA/RSA.hpp"