zlib.js 570 B

1234567
  1. import { JOSENotSupported } from '../util/errors.js';
  2. export const inflate = async () => {
  3. throw new JOSENotSupported('JWE "zip" (Compression Algorithm) Header Parameter is not supported by your javascript runtime. You need to use the `inflateRaw` decrypt option to provide Inflate Raw implementation.');
  4. };
  5. export const deflate = async () => {
  6. throw new JOSENotSupported('JWE "zip" (Compression Algorithm) Header Parameter is not supported by your javascript runtime. You need to use the `deflateRaw` encrypt option to provide Deflate Raw implementation.');
  7. };