import { EncryptedIVRequest, EncryptedIVResponse, ScramLoginParams, ScramLoginResponseBody } from '@iotize/tap/service/impl/scram'; import { CallContext, VirtualTap } from '../virtual-tap-server'; export declare class ScramService { server: VirtualTap; keepAliveCounter: number; private _options; private _encryptedFrameConverter; private _encryptionAlgo?; /** * Clear encrypted session. * Destroys frame counter, session keys and initialization vectors * This will also stop encrypted communication if it was running */ private clearSession; private refreshEncryptionAlgo; private get encryptionAlgo(); constructor(server: VirtualTap); initLogin(context: CallContext): ScramLoginResponseBody; getScramIteration(): number; scramInitialized(): Uint8Array; private _decodeEncryptedFrame; private _encryptTapResponse; secoreCom(context: CallContext): Uint8Array; setInitializationVector(context: CallContext): Uint8Array; private _updateDecodeInitializationVector; comWithIv(context: CallContext): EncryptedIVResponse; }