@sebastianp265/safe-server-side-storage-client
Version:
Library for Confidential Server-Side Message Storage Using the Labyrinth Protocol
10 lines • 594 B
TypeScript
import { Epoch, EpochWithoutId } from "../EpochStorage";
import { PublicKey } from "../crypto/keys";
export type AuthenticateDeviceToEpochRequestBody = {
epochDeviceMac: string;
};
export type AuthenticateDeviceToEpochServerClient = {
authenticateDeviceToEpoch: (epochId: string, deviceId: string, authenticateDeviceToEpochRequestBody: AuthenticateDeviceToEpochRequestBody) => Promise<void>;
};
export declare function generateEpochDeviceMac(epoch: Epoch | EpochWithoutId, deviceKeyPub: PublicKey): Uint8Array<ArrayBufferLike>;
//# sourceMappingURL=authenticate-device-to-epoch.d.ts.map