The revocation status of the certificates of a chain, from CRLs and OCSP responses.
Every certificate of the chain but its trust anchor needs a CRL of its issuer, or an OCSP response of its issuer or of a responder it delegated, that tells its status. Two questions are told apart:
The certificates of a time-stamping authority follow RFC 3161, 4: a revocation after the time-stamp leaves its tokens valid only if the CRL gives a reason that is not a compromise of a key. Without a reason, or for a key compromise, every token of the authority is distrusted.
A CRL or a response issued after the certificate expired proves nothing of it, since a CA may drop the expired certificates from its CRLs and a responder forget them, unless they say they keep them (ExpiredCertsOnCRL, archive cutoff).
| Methods | ||
|---|---|---|
public
static
|
check(array $chain, array $sources, array $check): array
|
# |
public
static
|
iso($time)
|
# |
| Constants | |||
|---|---|---|---|
public
|
COMPROMISE_REASONS = [1, 2, 10]
|
# | |