import { ScriptableObject } from "../imports/ScriptableObject"; import { GlideRecord } from "../types/GlideRecord"; export declare class KMFCryptoModule { asymmetricDecryptData(data: string, additionalData: ScriptableObject): string; asymmetricEncryptData(data: string, additionalData: ScriptableObject): any; asymmetricUnwrapKey(data: string): string; asymmetricUnwrapKeyForAlgorithm(data: string, algo: string): string; asymmetricWrapKeyFromBytes(base64KeyBytes: string): string; asymmetricWrapKeyFromBytesForAlgorithm( base64KeyBytes: string, algo: string ): string; asymmetricWrapKeyFromSysId(keySysId: string): string; static cleanUpCryptoModuleCaches(): void; static cleanUpInstanceKeyCaches(): void; decryptData(data: string): string; discard(): void; encryptData(data: string): string; static flushCryptoModuleCaches(): void; generateMac(data: string): string; static generatePayloadHash(gr: GlideRecord): string; static get(): KMFCryptoModule; static getModule(cryptoModuleName: string): KMFCryptoModule; static getModuleFromColumn( tableName: string, fieldName: string ): KMFCryptoModule; static isKMFCryptoModuleAccessible(cryptoModuleSysId: string): boolean; sign(data: string): string; unwrapKey(formattedWrappedKey: string): string; unwrapKeyForAlgorithm(formattedWrappedKey: string, algorithm: string): string; verifyMac(data: string, expectedMac: string): boolean; verifySignature(signature: string, data: string): boolean; wrapKeyFromBytes(base64KeyBytes: string): string; wrapKeyFromBytesForAlgorithm( base64KeyBytes: string, algorithm: string ): string; wrapKeyFromSysId(keySysId: string): string; }