UNPKG

tidecloak-js

Version:

TideCloak client side JS SDK

10 lines (9 loc) 664 B
import { BasePrivateComponent, BasePublicComponent } from "../BaseComponent.js"; export default class BaseScheme{ static get Name() { throw Error("Name not implemented"); } /**@returns {(msg: Uint8Array, signature: Uint8Array, pub: BasePublicComponent) => Promise<(boolean)>} */ static GetVerifyingFunction = () => { throw Error("Verifying function not implemented"); } /**@returns {(msg: Uint8Array, priv: BasePrivateComponent) => Promise<(Uint8Array)>} */ static GetSigningFunction = () => { throw Error("Signing function not implemented"); } static GetEncryptingFunction = () => { throw Error("Encrypting function not implemented"); } }