import CipherEnum from '../enum/CipherEnum.js';
import CurveNameEnum from '../enum/CurveNameEnum.js';
import PolicyTypeEnum from '../enum/PolicyTypeEnum.js';
const enc = new TextEncoder();
/**
 * Default encrypt param builders
 *
 * @link https://github.com/virtru/tdf3-cpp/blob/develop/tdf3-src/lib/src/nanotdf_builder_impl.h
 */
const DefaultParams = {
    // Enabling ECDSA is not currently supported. Conflict with reusing key for `verify/sign` and `encrypt/decrypt`
    ecdsaBinding: false,
    ephemeralCurveName: CurveNameEnum.SECP256R1,
    magicNumberVersion: enc.encode('L1L'),
    offlineMode: false,
    policyType: PolicyTypeEnum.EmbeddedEncrypted,
    signature: false,
    signatureCurveName: CurveNameEnum.SECP256R1,
    symmetricCipher: CipherEnum.AES_256_GCM_96,
    defaultECAlgorithm: 'ec:secp256r1',
};
export default DefaultParams;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVmYXVsdFBhcmFtcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9uYW5vdGRmL21vZGVscy9EZWZhdWx0UGFyYW1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sVUFBVSxNQUFNLG9CQUFvQixDQUFDO0FBQzVDLE9BQU8sYUFBYSxNQUFNLHVCQUF1QixDQUFDO0FBQ2xELE9BQU8sY0FBYyxNQUFNLHdCQUF3QixDQUFDO0FBRXBELE1BQU0sR0FBRyxHQUFHLElBQUksV0FBVyxFQUFFLENBQUM7QUFFOUI7Ozs7R0FJRztBQUNILE1BQU0sYUFBYSxHQUFHO0lBQ3BCLCtHQUErRztJQUMvRyxZQUFZLEVBQUUsS0FBSztJQUNuQixrQkFBa0IsRUFBRSxhQUFhLENBQUMsU0FBUztJQUMzQyxrQkFBa0IsRUFBRSxHQUFHLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQztJQUNyQyxXQUFXLEVBQUUsS0FBSztJQUNsQixVQUFVLEVBQUUsY0FBYyxDQUFDLGlCQUFpQjtJQUM1QyxTQUFTLEVBQUUsS0FBSztJQUNoQixrQkFBa0IsRUFBRSxhQUFhLENBQUMsU0FBUztJQUMzQyxlQUFlLEVBQUUsVUFBVSxDQUFDLGNBQWM7SUFDMUMsa0JBQWtCLEVBQUUsY0FBYztDQUNuQyxDQUFDO0FBRUYsZUFBZSxhQUFhLENBQUMifQ==