import { Aes128Gcm } from "./AeadAes128Gcm"; import { RecordHeader } from "./RecordHeader"; import { RecordProtection } from "./RecordProtection"; export declare function expandSecret(output: Buffer, key: Buffer, label: string, initialSeed: Buffer): void; export declare class AesGcmRecordProtection extends RecordProtection { readonly masterSecret: Buffer; readonly serverRandom: Buffer; readonly clientRandom: Buffer; clientWriteKey: Buffer; serverWriteKey: Buffer; serverWriteIV: Buffer; clientWriteIV: Buffer; clientCipher: Aes128Gcm; serverCipher: Aes128Gcm; constructor(masterSecret: Buffer, serverRandom: Buffer, clientRandom: Buffer); getEncryptedSize(dataSize: number): number; getDecryptedSize(dataSize: number): number; encryptServerPlaintext(input: Buffer, record: RecordHeader): Buffer; encryptClientPlaintext(input: Buffer, record: RecordHeader): Buffer; private encryptPlaintext; decryptCiphertextFromServer(input: Buffer, record: RecordHeader): Buffer; decryptCiphertextFromClient(input: Buffer, record: RecordHeader): Buffer; private decryptCiphertext; } //# sourceMappingURL=AesGcmRecordProtection.d.ts.map