/*** Copyright (C) 2024 Jamie Reece Wilson (a/k/a "Reece"). All rights reserved. File: AuPinPair.hpp Date: 2024-10-14 Author: Reece ***/ #pragma once namespace Aurora::Crypto::CA { struct OpAndPinner : IPinCertificate { AuSPtr pA; AuSPtr pB; OpAndPinner(const AuSPtr &pA, const AuSPtr &pB); bool CheckCertificate(const AuSPtr &pChain, const AuMemoryViewRead &derCertificate) override; }; struct OpOrPinner : IPinCertificate { AuSPtr pA; AuSPtr pB; OpOrPinner(const AuSPtr &pA, const AuSPtr &pB); bool CheckCertificate(const AuSPtr &pChain, const AuMemoryViewRead &derCertificate) override; }; }