Reece Wilson
d9dd1182b9
[*] ISocket::Shutdown(*bool bNow*), allowing for flush of the send channel when false [*] Fix StartRead and StartWrite after shutdown (NT) [*] Amended dead-lock
21 lines
634 B
C++
21 lines
634 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<AuMemoryViewRead> GetCertificate(AuUInt32 idx) = 0;
|
|
virtual Crypto::X509::DecodedCertificate GetCertificateDetails(AuUInt32 idx) = 0;
|
|
};
|
|
|
|
AUKN_SYM AuSPtr<ICertificateChain> ChainFromOne(const AuMemoryViewRead &read);
|
|
AUKN_SYM AuSPtr<ICertificateChain> ChainFromMany(const AuList<AuMemoryViewRead> &read);
|
|
} |