Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Interface PublicKeyStorage

    Public Keys should have a mechanism to get the ASN.1 encoded value

    interface PublicKeyStorage {
        ASN1: BufferStorageASN1<publicKeyASN1>;
        storageKind: string;
        get length(): number;
        compare(compareWith: undefined | null | PublicKeyStorage): boolean;
        compareHexString(
            compareWith: undefined | null | string | BufferStorage,
        ): boolean;
        get(): ArrayBuffer;
        getBuffer(): Buffer;
        toBigInt(): bigint;
        toString(encoding?: "base64" | "hex" | "base32"): string;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    storageKind: string = 'GenericBuffer'

    Accessors

    • get length(): number

      Returns number

    Methods

    • Parameters

      • encoding: "base64" | "hex" | "base32" = 'hex'

      Returns string