/** * Api Documentation * Api Documentation * * OpenAPI spec version: 1.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { XHR } from "./XHR"; export declare class fhcCryptoApi { host: string; headers: Array; fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise; constructor(host: string, headers: any, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise); setHeaders(h: Array): void; handleError(e: XHR.XHRError): never; /** * * @summary Decrypt data * @param encryptedData * @param xFHCKeystoreId X-FHC-keystoreId * @param xFHCPassPhrase X-FHC-passPhrase */ decryptFileUsingPOST(encryptedData: ArrayBuffer | any[], xFHCKeystoreId: string, xFHCPassPhrase: string): Promise; /** * * @summary Decrypt data * @param body encryptedData * @param xFHCKeystoreId X-FHC-keystoreId * @param xFHCPassPhrase X-FHC-passPhrase */ decryptUsingPOST(xFHCKeystoreId: string, xFHCPassPhrase: string, body?: string): Promise; /** * * @summary Encrypt data * @param plainData * @param xFHCKeystoreId X-FHC-keystoreId * @param xFHCPassPhrase X-FHC-passPhrase * @param identifier identifier * @param id id * @param applicationId applicationId */ encryptFileUsingPOST(plainData: ArrayBuffer | any[], xFHCKeystoreId: string, xFHCPassPhrase: string, identifier: string, id: string, applicationId?: string): Promise; /** * * @summary Encrypt data * @param body plainData * @param xFHCKeystoreId X-FHC-keystoreId * @param xFHCPassPhrase X-FHC-passPhrase * @param identifier identifier * @param id id * @param applicationId applicationId */ encryptUsingPOST(xFHCKeystoreId: string, xFHCPassPhrase: string, identifier: string, id: string, applicationId?: string, body?: string): Promise; }