Verifies supplied CRL/OCSP evidence offline using Crypto primitives. More...
#include <StormByte/crypto/x509/revocation.hxx>
Static Public Member Functions | |
| static ExpectedRevocation | Verify (const Certificate &certificate, const Certificate &issuer, RevocationFormat format, std::span< const std::byte > der, TimePoint at) |
| Verifies one complete CRL or OCSP response for a certificate. | |
Verifies supplied CRL/OCSP evidence offline using Crypto primitives.
This verifier performs no network, filesystem, native trust-store, cache or clock access. It only accepts bounded signed evidence with an explicit validation time. Unsupported CRL distribution scopes and extensions fail closed; delegated OCSP responders must be embedded and directly authorized by the certificate issuer.
|
static |
Verifies one complete CRL or OCSP response for a certificate.
| certificate | Certificate whose status is requested. |
| issuer | Certificate that issued certificate and signs the evidence. |
| format | Evidence encoding. |
| der | Untrusted DER evidence; maximum size is 4 MiB. |
| at | Explicit validation instant. |
| StormByte::Safe::AllocationError | Safe-owned certificate data cannot be allocated. |