PEM text, DER bytes or a parsed certificate
{ role, now, skewMs, keyUsage (any of; empty asks nothing), eku: { oids, required } | null, mayBeCa, allowSha1, allowCritical (OIDs), validityAt }; validityAt replaces now for the
window alone, which is sigstore's rule
an array of { check, code, why }, empty when all hold
Holds one certificate to the role it is asked to play and answers every check that failed. Pure: no store, no setting and no network, and
nowis the caller's. The door reads this, because a verdict names every check rather than the first to fail.In order: validity, basicConstraints, keyUsage, extendedKeyUsage, the signature's hash, the key, and critical extensions. A keyUsage absent permits everything (RFC 5280 section 4.2.1.3). An extendedKeyUsage absent is refused only where the use case's specification requires it, and present it must name a purpose asked, or anyExtendedKeyUsage where presence is not what is required.