CreateOcspCertStatusInput
CreateOcspCertStatusInput
Status to assert for one certificate, mirroring RFC 6960 §4.2.1 CertStatus.
RevokedInfo's fields are reachable only under 'revoked'.
ts
type CreateOcspCertStatusInput = {
readonly certStatus: "good";
readonly revokedAt?: never;
readonly revocationReasonCode?: never
} | {
readonly certStatus: "revoked";
readonly revokedAt?: Date;
readonly revocationReasonCode?: number
} | {
readonly certStatus: "unknown";
readonly revokedAt?: never;
readonly revocationReasonCode?: never
}