import type { SupportedAlgorithm } from "../types.js"; /** * Algorithm parameter definitions for Web Crypto API */ export interface AlgorithmParams { name: string; tagLength?: number; } /** * Get Web Crypto API parameters for a supported algorithm * * tagLength is the length of the authentication tag in bits. It affects the strength of the authentication tag. * 32, 64, 96, 128 bits are supported. */ export declare function getAlgorithmParams(algorithmName: SupportedAlgorithm): AlgorithmParams; /** * Get all supported algorithms */ export declare function getAllSupportedAlgorithms(): SupportedAlgorithm[]; /** * Get Web Crypto API key generation parameters for a supported algorithm * * length is the length of the key in bits. It affects the strength of the key. * 128, 192, 256 bits are supported. */ export declare function getKeyGenerationParams(algorithm: SupportedAlgorithm): AlgorithmIdentifier | RsaHashedKeyGenParams | EcKeyGenParams | HmacKeyGenParams | AesKeyGenParams; /** * Check if an algorithm supports additional authenticated data (AAD) */ export declare function supportsAdditionalData(algorithm: SupportedAlgorithm): boolean; //# sourceMappingURL=algorithm-params.d.ts.map