Reece
b2311a8824
[+] IProcessSectionMapView::UnlockSwap [*] Fix critical tag under ILogger [*] Added missing includes to experimental APIs
21 lines
652 B
C++
21 lines
652 B
C++
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: ICertifiateChain.hpp
|
|
Date: 2022-8-30
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO::TLS
|
|
{
|
|
struct ICertificateChain
|
|
{
|
|
virtual AuUInt32 GetCertificateCount() = 0;
|
|
virtual AuSPtr<Memory::MemoryViewRead> GetCertificate(AuUInt32 idx) = 0;
|
|
virtual Crypto::X509::DecodedCertificate GetCertificateDetails(AuUInt32 idx) = 0;
|
|
};
|
|
|
|
AUKN_SYM AuSPtr<ICertificateChain> ChainFromOne(const Memory::MemoryViewRead &read);
|
|
AUKN_SYM AuSPtr<ICertificateChain> ChainFromMany(const AuList<Memory::MemoryViewRead> &read);
|
|
} |