edgeport - v1.0.3
    Preparing search index...

    Interface UserKey

    A loaded user key able to produce its public blob and sign auth requests.

    interface UserKey {
        algorithm: string;
        publicBlob: Uint8Array;
        sign(data: Uint8Array): Promise<Uint8Array<ArrayBufferLike>>;
    }
    Index
    algorithm: string

    The publickey auth algorithm name (e.g. ssh-ed25519, rsa-sha2-512).

    publicBlob: Uint8Array

    The SSH public-key blob advertised to the server.

    • Signs data, returning the full SSH signature blob.

      Parameters

      • data: Uint8Array

      Returns Promise<Uint8Array<ArrayBufferLike>>