@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
26 lines (25 loc) • 925 B
JavaScript
//#region src/modules/x509/X509ValidationOptions.ts
/**
* Revocation checking mode based on Java PKIXRevocationChecker.Option patterns
*/
let X509RevocationCheckMode = /* @__PURE__ */ function(X509RevocationCheckMode) {
/**
* Completely disable revocation checking
*/
X509RevocationCheckMode["Disabled"] = "Disabled";
/**
* Check revocation status but allow validation to succeed if:
* - CRL cannot be obtained due to network error
* This is the RECOMMENDED default for production systems
*/
X509RevocationCheckMode["SoftFail"] = "SoftFail";
/**
* Require successful revocation check - fail if network unavailable or service errors
* Use with caution in production as network failures will block certificate validation
*/
X509RevocationCheckMode["Require"] = "Require";
return X509RevocationCheckMode;
}({});
//#endregion
export { X509RevocationCheckMode };
//# sourceMappingURL=X509ValidationOptions.mjs.map