avancement planning
This commit is contained in:
+6
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user