UNPKG

xiot-core-xcp-ts

Version:
14 lines (13 loc) 603 B
import { XcpClientCipher } from '../XcpClientCipher'; import { XcpAuthenticationType } from '../common/XcpAuthenticationType'; import { XcpLTSKGetter } from '../XcpLTSKGetter'; export declare class XcpClientCipherProductImpl implements XcpClientCipher { private deviceType; private getter; private serverLTPK; private algorithm; constructor(deviceType: string, getter: XcpLTSKGetter, serverLTPK: Uint8Array); getAuthenticationType(): XcpAuthenticationType; sign(info: Uint8Array): Promise<Uint8Array>; verify(info: Uint8Array, signature: Uint8Array): Promise<boolean>; }