/** * Generated file. Do not edit */ import { TapResponse } from '@iotize/tap'; import { ScramLoginParams } from './models'; import { ScramLoginResponseBody } from './models'; import { EncryptedIVRequest } from './models'; import { EncryptedIVResponse } from './models'; import { AbstractService, ServiceCallType } from '@iotize/tap'; export declare class ScramService extends AbstractService { resources: { login: ServiceCallType; loginProof: ServiceCallType; getHashIteration: ServiceCallType; putHashIteration: ServiceCallType; initialize: ServiceCallType; stop: ServiceCallType; send: ServiceCallType; setInitializationVector: ServiceCallType; sendWithIV: ServiceCallType; }; /** * Initiate scram login process * * LWM2M path: /1024//40 * * @tapVersion(">=1.0") * @param params input * @return */ login(params: ScramLoginParams): Promise>; /** * * * LWM2M path: /1024//40 * * @tapVersion(">=1.0") * @param params input * @return call options */ loginCall(params: ScramLoginParams): ServiceCallType; /** * Scram login proof * * LWM2M path: /1024//41 * * @tapVersion(">=1.0") * @param params input * @return */ loginProof(params: Uint8Array): Promise>; /** * * * LWM2M path: /1024//41 * * @tapVersion(">=1.0") * @param params input * @return call options */ loginProofCall(params: Uint8Array): ServiceCallType; /** * Get scram hash iteration counter * * LWM2M path: /1024//42 * * @tapVersion(">=1.11") * @return */ getHashIteration(): Promise>; /** * * * LWM2M path: /1024//42 * * @tapVersion(">=1.11") * @return call options */ getHashIterationCall(): ServiceCallType; /** * Set scram hash iteration counter * * LWM2M path: /1024//42 * * @tapVersion(">=1.11") * @param data input * @return */ putHashIteration(data: number): Promise>; /** * * * LWM2M path: /1024//42 * * @tapVersion(">=1.11") * @param data input * @return call options */ putHashIterationCall(data: number): ServiceCallType; /** * Start encrypted communication * * LWM2M path: /1024//47 * * @tapVersion(">=1.11") * @return */ initialize(): Promise>; /** * * * LWM2M path: /1024//47 * * @tapVersion(">=1.11") * @return call options */ initializeCall(): ServiceCallType; /** * Stop encrypted communication * * LWM2M path: /1024//46 * * @tapVersion(">=1.11") * @return */ stop(): Promise>; /** * * * LWM2M path: /1024//46 * * @tapVersion(">=1.11") * @return call options */ stopCall(): ServiceCallType; /** * Communication channel * * LWM2M path: /1024//48 * * @tapVersion(">=1.11") * @param data input * @return */ send(data: Uint8Array): Promise>; /** * * * LWM2M path: /1024//48 * * @tapVersion(">=1.11") * @param data input * @return call options */ sendCall(data: Uint8Array): ServiceCallType; /** * Exchange new Initialization Vectors * * LWM2M path: /1024//45 * * @tapVersion(">=1.85") * @param data input * @return */ setInitializationVector(data: Uint8Array): Promise>; /** * * * LWM2M path: /1024//45 * * @tapVersion(">=1.85") * @param data input * @return call options */ setInitializationVectorCall(data: Uint8Array): ServiceCallType; /** * Communication channel with encryption initialization vectory * * LWM2M path: /1024//44 * * @tapVersion(">=1.85") * @param data input * @return */ sendWithIV(data: EncryptedIVRequest): Promise>; /** * * * LWM2M path: /1024//44 * * @tapVersion(">=1.85") * @param data input * @return call options */ sendWithIVCall(data: EncryptedIVRequest): ServiceCallType; }