This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+6
View File
@@ -65,6 +65,12 @@ function createVerificationPolicy(options) {
if (options.certificateIssuer) {
policy.extensions = { issuer: options.certificateIssuer };
}
if (options.certificateOIDs) {
policy.oids = Object.entries(options.certificateOIDs).map(([oid, value]) => ({
oid: { id: oid.split('.').map(Number) },
value: Buffer.from(value),
}));
}
return policy;
}
// Instantiate the FulcioSigner based on the supplied options.