PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@sigstore/sign/dist/signer

Просмотр файла: signer.d.ts

/// <reference types="node" />
export type KeyMaterial = {
    $case: 'x509Certificate';
    certificate: string;
} | {
    $case: 'publicKey';
    publicKey: string;
    hint?: string;
};
export type Signature = {
    signature: Buffer;
    key: KeyMaterial;
};
export interface Signer {
    sign: (data: Buffer) => Promise<Signature>;
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!