8 lines
570 B
JavaScript
8 lines
570 B
JavaScript
import { JOSENotSupported } from '../util/errors.js';
|
|
export const inflate = async () => {
|
|
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.');
|
|
};
|
|
export const deflate = async () => {
|
|
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.');
|
|
};
|