PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@iota/iota-sdk/dist/esm/keypairs/secp256r1

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

import { PublicKey } from '../../cryptography/publickey.js';
import type { PublicKeyInitData } from '../../cryptography/publickey.js';
/**
 * A Secp256r1 public key
 */
export declare class Secp256r1PublicKey extends PublicKey {
    static SIZE: number;
    private data;
    /**
     * Create a new Secp256r1PublicKey object
     * @param value secp256r1 public key as buffer or base-64 encoded string
     */
    constructor(value: PublicKeyInitData);
    /**
     * Checks if two Secp256r1 public keys are equal
     */
    equals(publicKey: Secp256r1PublicKey): boolean;
    /**
     * Return the byte array representation of the Secp256r1 public key
     */
    toRawBytes(): Uint8Array;
    /**
     * Return the IOTA address associated with this Secp256r1 public key
     */
    flag(): number;
    /**
     * Verifies that the signature is valid for the provided message
     */
    verify(message: Uint8Array, signature: Uint8Array | string): Promise<boolean>;
}

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


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