Beryl::Certificates::FailureReason
Inherits Enum < Comparable < Value < Object
Why a chain was refused. VerificationFailed#reason carries one.
Constants
The leaf itself could not be read.
The leaf is outside its validity period at the validation time.
The leaf breaks the profile: a CA certificate in leaf position, an unknown critical extension, a missing subject alternative name.
The leaf's extended key usage does not allow the purpose asked for.
No subject alternative name of the leaf matches the name asked for.
No path from the leaf reaches a trust anchor that satisfies every
check; VerificationFailed#message names the last check that failed.
Path building stopped at its budget (candidates tried, signatures checked, name comparisons, processor time).
A CRL handed in revokes a certificate of the path, or a CRL that covers the path cannot be used.
More certificates, or more bytes, were presented than the limits allow.
A certificate of the chain is signed with SHA-1 or MD5, which Beryl refuses by name before checking the signature (RFC 9155, RFC 6151).
Instance methods
Returns true if this enum value equals LeafExpiredOrNotYetValid