REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 864 B
Close
/proc/self/root/opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules/sigstore/dist/ca/index.js
Text
Base64
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CAClient = void 0; const client_1 = require("../client"); const error_1 = require("../error"); const format_1 = require("./format"); class CAClient { constructor(options) { this.fulcio = new client_1.Fulcio({ baseURL: options.fulcioBaseURL }); } async createSigningCertificate(identityToken, publicKey, challenge) { const request = (0, format_1.toCertificateRequest)(identityToken, publicKey, challenge); try { const certificate = await this.fulcio.createSigningCertificate(request); return certificate.signedCertificateEmbeddedSct.chain.certificates; } catch (err) { throw new error_1.InternalError('error creating signing certificate', err); } } } exports.CAClient = CAClient;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
verify
DIR
-
drwxr-xr-x
2024-03-03 22:54:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
format.d.ts
297 B
lrw-r--r--
2023-12-06 18:07:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
format.js
652 B
lrw-r--r--
2023-12-06 18:07:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.d.ts
527 B
lrw-r--r--
2023-12-06 18:07:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
864 B
lrw-r--r--
2023-12-06 18:07:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).